discourse/app
Sérgio Saquetim abf86271ff
DEV: Extract the query code from CategoryList.find_relevant_topics into a separate method (#26390)
## 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.
2024-03-27 16:32:45 -03:00
..
assets FIX: tweaks of select-kit on mobile (#26401) 2024-03-27 17:26:24 +01:00
controllers DEV: Consolidate experimental 'Link' header implementations (#26377) 2024-03-27 09:06:50 +00:00
helpers DEV: Consolidate experimental 'Link' header implementations (#26377) 2024-03-27 09:06:50 +00:00
jobs PERF: only allow one reviewable notification at a time (#26330) 2024-03-22 17:37:06 -04:00
mailers FIX: Add higher read & open timeouts for group SMTP emails (#24593) 2023-11-28 15:32:59 +10:00
models DEV: Extract the query code from CategoryList.find_relevant_topics into a separate method (#26390) 2024-03-27 16:32:45 -03:00
serializers DEV: Change category type to categories type for theme object schema (#26339) 2024-03-27 10:54:30 +08:00
services DEV: Promote block problem checks to ProblemCheck (#26193) 2024-03-20 08:52:25 +08:00
views DEV: Consolidate experimental 'Link' header implementations (#26377) 2024-03-27 09:06:50 +00:00