Skip to content

New user is added to a filtered Users list #4234

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

A user created while the admin Users list is filtered by group or search is added to the filtered results and raises the total count, even if it doesn't match. CreateUserModal.vue upserts the new user into the store without looking at the active filters.

Reproduction Steps

  1. Open Admin settings > Users filtered by a group with one member ("1 users in total")
  2. Create a new user that isn't in that group

Expected Outcome

The new user only shows up if it matches the filter.

Actual Outcome

The new user is listed and the footer says "2 users in total" while the group filter is still active. Same with a search.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions