You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The queryset passed to changelist_actions includes all objects, even if the admin view has an active filter/search.
Is there a way to receive a queryset identical to the filtered list that the admin view is currently using?
The text was updated successfully, but these errors were encountered:
"[...] You can also add tool actions to the main changelist views too. There, you'll get a queryset like a regular admin action: [...]"
Which is confusing because it doesn't return you the same queryset, in stead it returns all objects. I think this should be clarified better in the documentation.
It would be great to have a way to choose this behavior, both can be useful depending on the circumstances.
The queryset passed to changelist_actions includes all objects, even if the admin view has an active filter/search.
Is there a way to receive a queryset identical to the filtered list that the admin view is currently using?
The text was updated successfully, but these errors were encountered: