🐛 Bug Report: mass selection in user groups with pagination does not work properly #37

Closed
opened 2025-10-06 23:59:02 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @peterforeman on GitHub.

Reproduction steps

Example:

  • Go to Administration -> User groups
  • Select a group, click "Edit"
  • Have > 20 users in the database, currently none selected to belong to this group
  • Have pagination on "Show 20 entries".
  • Mass select/check all users on the first page, click save
  • Go to second page
  • Mass select/check all users on the second page, click save
  • Return to the first page

Now none of the previously selected users on the first page are selected anymore. Only the users on the second page are selected. If we now select all users on the first page again and save, the users on the second page get deselected.

Expected behavior

In Administration -> User groups we can edit the groups and select which users belong to a group. We should be able to use pagination (eg. 20 users per page), mass select users per page to add them to the group and move to the next page and selecting these again etc.

Actual Behavior

See reproduction steps. When mass-selecting, users on other (not shown) pages of the pagination get deselected while this is not meant to happen.

Pocket ID Version

1.10.0

Database

SQlite

OS and Environment

Kubernetes/Traefik

Log Output

No response

Originally created by @peterforeman on GitHub. ### Reproduction steps Example: - Go to Administration -> User groups - Select a group, click "Edit" - Have > 20 users in the database, currently none selected to belong to this group - Have pagination on "Show 20 entries". - Mass select/check all users on the first page, click save - Go to second page - Mass select/check all users on the second page, click save - Return to the first page Now none of the previously selected users on the first page are selected anymore. Only the users on the second page are selected. If we now select all users on the first page again and save, the users on the second page get deselected. ### Expected behavior In Administration -> User groups we can edit the groups and select which users belong to a group. We should be able to use pagination (eg. 20 users per page), mass select users per page to add them to the group and move to the next page and selecting these again etc. ### Actual Behavior See reproduction steps. When mass-selecting, users on other (not shown) pages of the pagination get deselected while this is not meant to happen. ### Pocket ID Version 1.10.0 ### Database SQlite ### OS and Environment Kubernetes/Traefik ### Log Output _No response_
Author
Owner

@stonith404 commented on GitHub:

Thanks, this should be fixed in 6c696b46c8 and will be available in the next release.

@stonith404 commented on GitHub: Thanks, this should be fixed in 6c696b46c8b60b3dc4af35c9c6cf1b8e1322f4cd and will be available in the next release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#37