Can we Filter people in /user by group name

AI-generated summary

The discussion revolves around the ability to filter users by group name in the /users section of a Discourse forum. richa initially requests this feature, as the current functionality only allows filtering by username. codinghorror responds that this is not currently possible, but tobiaseigen and maxschons express interest in this feature and suggest additional functionality, such as sorting group members by last post or seen columns, and advanced search capabilities.

Ahmed_Gagan offers to create a pull request (PR) for this feature and later shares a working video of the implementation. The PR is eventually added to the Discourse GitHub repository (PR #11095). markvanlan announces that the feature is now available, allowing users to filter by group.

Hello,
Our Company’s Forum is on discourse platform. We want our staff people to be more active ,for that we want to track there events on forum.

I want to filter my company’s people in admin–>users by there group name. Right now its possible only with the username.

Can anyone help me out, how exactly I can implement this.

4 Likes

Hi richa welcome to the forum

Something like this?
https://meta.discourse.org/groups/moderators/members

2 Likes

Here if you see on topmost right, It gives you option of filtering by username.I want to it to filter by group name as well.

4 Likes

Good idea! This is not possible at the current time, though.

4 Likes

I was just looking for this as well and am glad it has already been asked. We are starting to make more active use of groups, and need to keep an eye on a particular group right now to make sure they are starting to participate. Filtering the user list by group would be a huge help.

Another helpful feature would be to make the group members list sortable by last post or seen columns, to quickly identify who needs attention.

1 Like

Hello everyone!

Is it now possible to search for users by group? I would be especially interested to have some sort of advanced search for users where I can ask: Who is in Group A and Group B. This would influence the way I would structure the groups within our community.

1 Like

Hi @maxschons
I can make a PR in core for this, can you sponser the task?

2 Likes

I am interested to take this up.
here’s the working video:


Any suggestions for this?

A PR for this has been added here
https://github.com/discourse/discourse/pull/11095

5 Likes

You can now filter by group, closing!

5 Likes