A user, Stephen, reported an issue with searching for users on the mobile interface. The mobile search only returns posts by users, not user objects, which can result in no search results if the user hasn’t posted in an accessible area. In contrast, the desktop search returns both user objects and posts. sam suggested a workaround by using the URL https://meta.discourse.org/u to search for users, which works on mobile as well. However, thegurjyot and nathank emphasized the need for a consistent search feature across mobile and desktop, allowing users to search for users from the main search bar. codinghorror mentioned that it is already possible to search for users by going to the users page, but thegurjyot and nathank argued that this should be possible from the main search bar as well, as it is inconsistent and inconvenient to have to switch to the desktop view or use a workaround.
Bitdoesn’t return user objects, only posts by users.
That’s fine if the user has posted, but in this case the user in question hasn’t posted something in an area which my account has access. The result is no search results.
IIRC search on desktop returns both user objects and posts, can we get the same on the mobile interface?
Is this still a standing issue or can a solution be created for this now?? I mean almost every app offers user search so it would be nice if Discourse also did just for the ease. Not comparing Discourse with other apps but the ease of use would definitely be there.
It would be much nicer to have the same behaviour in mobile and desktop. You’ll laugh at me but I have on occasions switched to a desktop view on mobile just to get users in the search bar.
That’s true and it’s an absolutely reasonable request. This feature can be and should be consistent throughout the website. And if it can be done using a theme component then why not do the same with the main search at the first place.