mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 03:48:23 +00:00
1f0207ba06
* DEV: Support `likes-(min:max):<count>` on `/filter` route This commit adds support for the following filters: 1. `likes-min` 2. `likes-max` 3. `views-min` 4. `views-max` 5. `likes-op-min` 6. `likes-op-max` If the filter has an invalid value, i.e string that cannot be converted into an integer, the filter will be ignored. If either of each filter is specify multiple times, only the last occurrence of each filter will be taken into consideration.