mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-10 05:28:09 +08:00
Previously, discoveries were suppressed whenever `search.searchContext` had a `type`, but `build-category-route` and `tag/show` set that on every category/tag page even though the search menu still searches globally there. This change mirrors `SearchMenu#searchContext` and only treats `inTopicContext` and `private_messages` as scoped, so discoveries trigger from category and tag pages while remaining suppressed inside a topic or the PM inbox. |
||
|---|---|---|
| .. | ||
| acceptance | ||
| fixtures | ||
| integration/components | ||
| unit | ||
| .gitkeep | ||