Contents are not getting auto sorted A-Z on TOC manager page nor by structural unit
cc @jordandc
Expected behaviour
The contents should be autosorted on book manager page per the selected setting when they come back from load to pmc, in this case A-Z, and by correct structural unit (front / body / back).
Current behaviour
The contents are not appearing A-Z by title.
Notice, in TOC.XML, they are grouped by letter, but within a letter, they are not alphabetized:
Compare:
Preview of TOC generated by Coko: https://preview.ncbi.nlm.nih.gov/bookshelf/coko/br.fcgi?accid=NBK124662.1
Preview on Bookshelf live site: https://www.ncbi.nlm.nih.gov/books/NBK501922/
(An aside - settings for this book are set to display just chapter titles, but section are also displaying, but I don't think we are supposed to test that yet).
See also, part type "appendix" should be auto-placed in back, but it is in body:
Search for: "LactMed - Database Creation and Peer Review Process"
-
Steps to reproduce
- Download contents and put in a new book with same exact settings as this one
- Submit
Environment
N/A
Possible solution
Priority
Y - this is a blocker for testing