]> BookStack Code Mirror - bookstack/commit
Sorting: Updated sort set command, Changed sort timestamp handling 5457/head
authorDan Brown <redacted>
Tue, 11 Feb 2025 15:29:16 +0000 (15:29 +0000)
committerDan Brown <redacted>
Tue, 11 Feb 2025 15:29:16 +0000 (15:29 +0000)
commit7bd89316bcc92642af6c17c9d6e7b89ad6807055
tree26f893a098833a66fa8579a09945cd8050738a67
parentb9306a9029f41f3779b755d08c907a2edafc33df
Sorting: Updated sort set command, Changed sort timestamp handling

- Renamed AssignSortSetCommand to AssignSortRuleCommand, updated
  contents and testing.
- Updated sorting operations to not update timestamps if only priority
  is changed.
app/Console/Commands/AssignSortRuleCommand.php [moved from app/Console/Commands/AssignSortSetCommand.php with 60% similarity]
app/Sorting/BookSorter.php
lang/en/activities.php
tests/Commands/AssignSortRuleCommandTest.php [new file with mode: 0644]
tests/Commands/AssignSortSetCommandTest.php [deleted file]
tests/Sorting/BookSortTest.php
tests/Sorting/SortRuleTest.php