Selected PIs do not remain selected after user saves them and moves from the UI page
Expected behaviour
When a user selects and saves a PI in the BCMS book metadata UI, it remains selected and saved until the user intentionally deselects it.
Current behaviour
After user saves successfully with all PIs selected (or checked), when the user opens the UI again the checkboxes are unchecked. Same bug in Word metadata modal & pdf chapter metadata modal.
Steps to reproduce
- Go to any chapter-processed book
- Open the book metadata modal
- Select and save all available PIs
- Move away form metadata modal
- Reopen same book's metadata modal and notice PIs are no longer selected
Environment
Possible solution
QA Steps
[To be completed by Coko once dev is done]