mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
When a type was disabled, the hashtag search _without_ a term was erroring. This was because we weren't filtering out the disabled types from types_in_priority_order first like we were if there was a term provided. This commit fixes that issue, and also makes it so contexts_with_ordered_types and ordered_types_for_context will only return hashtag types which are enabled.