]> BookStack Code Mirror - bookstack/commit
Sorting: Fixes during testing of sort rules
authorDan Brown <redacted>
Mon, 24 Feb 2025 16:58:59 +0000 (16:58 +0000)
committerDan Brown <redacted>
Mon, 24 Feb 2025 16:58:59 +0000 (16:58 +0000)
commitdca14feaaad686bfbe9acb59f5eb11b815501e5b
tree4afdfea246987fa5ce04d5297e431ee277faa1e7
parentd7ccb3ce6a559a62a9408765692c5cc514890b14
Sorting: Fixes during testing of sort rules

- Fixed name numeric sorting not working as expected due to bad
  comparison.
- Added name numeric desc operation option.
- Added test to ensure each operating has a comparison function.
app/Sorting/SortRuleOperation.php
app/Sorting/SortSetOperationComparisons.php
tests/Sorting/SortRuleTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.