starlette-admin
starlette-admin copied to clipboard
Enhancement: Batch Actions on Searched and Selected records. Keep the selection in memory while paginating.
Is your feature request related to a problem? Please describe. Let's say that I have a table with 10K records and pagination limit is set to 50 records per page for the view.
What do I do to apply a batch action to 1K records? I would have to paginate 20 times to accomplish this, that's OK but what if that action requeires some input (form attribute in the decorator)? I'd still need to paginate 20 times and enter the required fields, 20 times...
Describe the solution you'd like
Cache the IDs of the selected records while paginating in a view and perform the batch action for all IDs in the cache.