mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
## Why this change? The previous implementation of the method generated the query to find the relevant topics and iterated over the results, processing them. This behavior made difficult reusing or changing the query logic in classes extending `CategoryList`. This commit extracts the query logic into another method called `relevant_topics_query ` which can be reused or overwritten in descendant classes. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |