mirror of
https://github.com/flarum/framework.git
synced 2025-03-05 00:01:55 +08: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!