-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
- Laravel Version: 9.52.7
- Nova Version: 4.23.0
- PHP Version: 8.0.24
- Database Driver & Version: MySQL 8.0
- Operating System and Version: Running on Docker on Ubutnu / Running native on Debian
- Browser type and version: Google Chrome Version 112.0.5615.165
Description:
When running an action to item(s) selected, the action is executed on all items (including all pages) instead of running only on the selected items. This issue occurs specifically with resources that have a non-numerical primary key.
Detailed steps to reproduce the issue on a fresh Nova installation:
- Create a table for a resource, defining the ID field as a string.
- Populate the table with 213 rows of dummy data, ensuring that each row has an ID containing at least one alphabetic character.
- Create the corresponding Eloquent model and Nova resource for the newly created table.
- Define the ID field in the Nova resource using either the Text or ID field type (both have been confirmed to reproduce the problem).
- Create an Action and assign it to the Resource.
- Log in to Nova, navigate to the Resource, select one or more items.
- Run the action.
Observed Behavior:
The action is executed twice: first affecting 200 rows, and then affecting the remaining 13 rows.
Expected Behavior:
The action should be executed only for the N selected items.
Metadata
Metadata
Assignees
Labels
No labels