mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 20:22:45 +08:00
0162f0ccb0
On the `/filter` route, the categories filtering query language is now supported in the input per the example provided below: ``` category:bug => topics in the bug category AND all subcategories =category:bug => topics in the bug category excluding subcategories category:bug,feature => allow for categories either in bug or feature =category:bug,feature => allow for exact categories match excluding sub cats categories: => alias for category ``` Currently composing multiple category filters is not supported as we have yet to determine what behaviour it should result in. For example, `category:bug category:feature` would now return topics that are in both the `bug` and `feature` category but it is not possible for a topic to belong to two categories. |
||
---|---|---|
.. | ||
fabricators | ||
fixtures | ||
helpers | ||
import_export | ||
initializers | ||
integration | ||
integrity | ||
jobs | ||
lib | ||
mailers | ||
models | ||
multisite | ||
requests | ||
script/import_scripts | ||
serializers | ||
services | ||
support | ||
system | ||
tasks | ||
views | ||
rails_helper.rb | ||
regenerate_swagger_docs | ||
swagger_helper.rb |