mirror of
https://github.com/flarum/core.git
synced 2025-05-03 22:21:23 +02:00
- Adds a field to QueryCriteria that determines whether the sort provided is the controller's default sort - Set this field to true iff sort not in query params. Default it to false - Override $sort if a new default sort has been set on search state, and the param is true. - Add tests!