Icon for XML & PDF chapters inside of collection is not correct
When chapter processed books are added into a collection, checking the collection page, the icon is incorrect. Instead of the icon that we have for chapter-processed books we have the icon for wholebooks.
Expected behaviour
When you go to a collection page, the icon for the workflow should correspond the same icon that we have if it's a chapter processed book or wholebook.
Current behaviour
In the case below, first case is an xml chapter proccesed, second case a pdf chapter processed. The icon displayed here is for wholebooks.
The icon displays correctly for the word books.
Steps to reproduce
- Create a collection
- Create an xml chapter processed book and add it to the collection
- Create an pdf chapter processed book and add it to the collection
- Go to collection page and see the icons.
Example here
QA Steps
- Create a collection
- Create all possible types of books (6) and add them to the collection
- Go to collection page and confirm that chapter processed books have the yellow icon with chapter & also that wholebooks have the blue icon.