-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExportAsCsv export all records instead of the relationship ones only #5925
Comments
Same here, an action should only run for the related rows but instead its running all the rows from the db when you select 'Select All' in the hasmany view. I think its a very dangerous bug if we are not doing something wrong. |
Unable to reproduce the issue, please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example) |
@crynobone i cant dev a full repository just to reproduce the issue and i cant share the current repository we are working i am afraid. as the issue is shared by another user too i assume theres something somewhere that is creating this bug? |
I can't reproduce the issue. If you can recreate the issue on a fresh project then we have a starting point to debug the problem. |
I am sorry but i dont have the time to recreate the issue on a fresh project; if you have any questions regarding my project im open to help but i don't have the time to debug this, as this issue is shared with another user, is for sure something that happens so someone should figure out a way to reproduce and fix it. |
Hey there, We're closing this issue because it's inactive, already solved, old, or not relevant anymore. Feel free to open up a new issue if you're still experiencing this problem. |
Description:
While running the action ExportAsCsv to export records from a Relationship resource, and using the "Select all" feature in the table, the CSV generated contains the whole database instead of only the related records.
Detailed steps to reproduce the issue on a fresh Nova installation:
Resource Customer have a relationship with many Releases.
In the Customer page, if I try to export all Releases with ExportAsCsv i get the whole table of Releases instead of only the ones related to the Customer.
If i manually select some record form the table it works fine and it exports only that records, the issue is only while using the "Select all" feature in the table.
Model Customer:
Nova Resource Customer:
Nova Resource Releases:
The text was updated successfully, but these errors were encountered: