mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 03:32:45 +08:00
a0e45a1e0c
The filter-mode mixin was previously serving two distinct purposes via a complex arrangement of getters/setters: 1. To calculate a filterMode, given values for category, filterType and noSubcategories 2. To calculate a filterType, given a filterMode This commit splits the mixin into two functions, and updates all call sites to use them instead of the mixin. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |