Dropdown search box results now cleared after clicking on 1 result?

AI-generated summary

A recent change in the dropdown search box behavior has been reported by rahim123 and Slowhand, where clicking on a search result now clears the query and results, requiring another search to retrieve the results. This change was unintentional, as confirmed by isaac. A fix has been submitted by isaac and is expected to be merged soon, restoring the original behavior of remembering the query and results after clicking on a result.

Hi there, I was wondering if the recent change in the dropdown search box behavior was intentional or accidental? It used to remember the query and the results after clicking on a result, and it did a soft load of that topic page, and then clicking on the search icon again showed the same search results immediately, making it much faster to look through a bunch of search results. Now on my recently updated forum and on Meta it requires hitting <Enter> again to bring the results back, and I’m pretty sure it runs the search query again too.

Here’s a Discourse forum that hasn’t been updated yet, because it still has the older search drowdown behavior that I prefer:
https://forum.tuxdigital.com/

5 Likes

This is happening on my forum also, it’s annoying when you’re trying to collect a lot of posts in one thread.

2 Likes

Thanks @rahim123 for raising this :slight_smile:

This was not an intentional change of behavior. I will take a look at fixing it next week.

4 Likes

Awesome, thank you!

1 Like

I have submitted a fix. Should be merged soon :slight_smile:

https://github.com/discourse/discourse/pull/25504

4 Likes

Excellent, thanks very much!

1 Like