mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-03 20:07:47 +08:00
# Context Currently there is no way to add a custom filter to the experimental `/filter` endpoint. While you can implement a custom `status:` there is no way to include the user's input in a custom query. # PR This PR adds the ability to implement a custom filter. eg. `CUSTOM_FILTER:foo` - Add `add_filter_custom_filter` for extension - Add specs |
||
|---|---|---|
| .. | ||
| filter.rb | ||
| filter_manager.rb | ||
| instance.rb | ||
| metadata.rb | ||