mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 06:55:41 +08:00

This commit improves the "+ X subcategories" option that shows sometimes in the category selector. It used to show when there was a single match, but now it also shows up on exact matches even though there are multiple results. It also makes it work when lazy_load_categories is enabled by searching the subcategories before rendering them.