Search adds username

To reproduce the issue:

  1. Navigate to a user’s profile, for example, https://meta.discourse.org/u/hawk/summary.
  2. Begin typing a search query.
  3. Observe the option to :mag:search term or press Enter, then select it.
  4. The expected behavior would be similar to pressing Enter. However, the issue arises when the selected action instead appends the user to the search field, as demonstrated below.
2개의 좋아요

It seems to happen only if you start with the category.

As a side note, this doesn’t render the category as opposed to doing the reverse, and you see (I can’t remember if it was always this way):

Here is a small video:

3개의 좋아요

Thanks, I will take a look!

4개의 좋아요

I had another search issue with categories recently. If this one is related to the category as well, maybe they have more in common than I thought..

3개의 좋아요

@Arkshine fixed by

https://github.com/discourse/discourse/pull/25652#pullrequestreview-1876195484

6개의 좋아요

This topic was automatically closed after 5 days. New replies are no longer allowed.