Collection TOC needs refresh after status changes on books
The TOC of a collection has the option to be published or update published version on certain rules like described on cases of issue #1076 (closed) & #1078 (closed).
- At least the toc of a chapter processed book belonging to collection is published
- Or at least one wholebook has status published.
But there is a specific scenario when the button to publish or update published version of toc is active or inactive incorrectly.
- Suppose we have a collection. Which has a wholebook with status Previewing.
- Publish the Wholebook
- When status of wholebook is updated to Published. Go to the collection TOC, and you will see that the button to publish toc is inactive. But if you refresh the page the button will become active.
- similar scenario happens if you go back to your wholebook and upload a second file version.
- Going back to collection toc, will show the button to publish active until the moment that you refresh the site.