mirror of
https://github.com/flarum/framework.git
synced 2025-02-27 00:48: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!