You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The order of books within the breadcrumb dropdowns (i.e. when you click the arrow) is done by the books' id, rather than by name (or any other method). This is counter-intuitive if the books weren't added to the instance in alphabetical order.
Steps to Reproduce
Create >1 book, using names in non-alphabetical order (i.e. 'Beta Book' then 'Alpha Book')
Within a book, click the drop-down in the breadcrumbs to show the other books at the same level
Observe that they aren't alphabetical
Expected Behaviour
Either the drop-down should by default order the books alphabetically, or there should be an option to select the ordering (perhaps manually, in line with the sorting available for chapters/pages within books).
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v23.12.2
The text was updated successfully, but these errors were encountered:
melat0nin
changed the title
Books in breadcrumb drop-downs are ordered by id not name
Books in breadcrumb drop-downs are ordered by id not name
Feb 28, 2024
ssddanbrown
changed the title
Books in breadcrumb drop-downs are ordered by id not name
Breadcrumb books & shelve lists are ordered by id not name
Mar 9, 2024
ssddanbrown
changed the title
Breadcrumb books & shelve lists are ordered by id not name
Breadcrumb books & shelves lists are ordered by id not name
Mar 9, 2024
Thanks for reporting @melat0nin.
This has been fixed in b7d4bd5, with tests to cover, to ensure name order is used for default (Non-shelf context) book and shelf lists.
Describe the Bug
The order of books within the breadcrumb dropdowns (i.e. when you click the arrow) is done by the books' id, rather than by name (or any other method). This is counter-intuitive if the books weren't added to the instance in alphabetical order.
Steps to Reproduce
Expected Behaviour
Either the drop-down should by default order the books alphabetically, or there should be an option to select the ordering (perhaps manually, in line with the sorting available for chapters/pages within books).
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v23.12.2
The text was updated successfully, but these errors were encountered: