在移动设备上搜索用户

Just tried to search for a user from mobile and realised that while the mobile search says this:

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?

1 个赞

This is a long standing issue, but the simple workaround is to use Discourse Meta to search for users which works for mobile as well.

5 个赞

这个问题是否仍然存在,还是现在可以为其提供解决方案?我的意思是,几乎每个应用都提供用户搜索功能,如果 Discourse 也能提供该功能,将大大提升易用性。这并非将 Discourse 与其他应用进行比较,但易用性确实会是一个显著优势。

1 个赞

这已经可以实现了……前往用户页面,在搜索框中输入内容即可。

我是从主搜索发起的询问。我的意思是,既然搜索组件都能做到,为什么主搜索不行呢?

1 个赞

如果在移动端和桌面端拥有相同的行为会好得多。你可能会笑我,但我有时甚至会在移动端切换到桌面视图,只是为了在搜索栏中查找用户。

这确实如此,而且这是一个完全合理的要求。该功能应当在整个网站中保持一致。如果可以通过主题组件实现,那么当初为何不将主搜索也采用同样的方式呢?