Order chapters by 'Chapter number - ascending' is resulting in an error
Expected behaviour
For a chapter-processed book, you can go into settings and choose 'Order chapters by' 'Chapter number - ascending' and save the setting. Once saved, the chapters will be ordered by their numbers.
Current behaviour
When you go into settings for a chapter-processed book, and choose 'Order chapters by' 'Chapter number - ascending' and save the setting, an error appears on the top-right which says:
Steps to reproduce
Example here
- go into settings for a chapter-processed book
- choose 'Order chapters by' 'Chapter number - ascending'
- click save
- see error top-right of page
- going back to the book manager page, chapters have not been ordered by chapter number - ascending, and in settings, the setting didn't save properly.
Environment
Chrome on Mac Sierra OS.
Possible solution
[Not required. Suggest a fix for the bug]
NCBI's priority feedback
[Select "Y" or "N" and provide an explanation]
- This bug is blocking NCBI's work on migration planning for deployment 1 (Y/N)
- This can be prioritised after deployment 1 (Y/N)
QA Steps
[To be completed by Coko once dev is done]