mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
At the moment, when filtering by group, the directory will unconditionally return the current user at the top of the list. This is quite unexpected, given that the user is deliberately trying to filter the list. This commit makes sure the 'include current user' logic only triggers for unfiltered directories