mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
b6f0b01307
- 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! |
||
---|---|---|
.. | ||
CreateTest.php | ||
DeletionTest.php | ||
ListTest.php | ||
ListWithFulltextSearchTest.php | ||
ShowTest.php |