On the detail view in the OPAC, it would save users a useless click when a record has no comments if the number of comments was displayed as part of the name of the tab, the same way it is done for holdings.
Created attachment 4043 [details] [review]
A quick fix, but now it sort of looks like all the other tabs should have counts too... Anyone have any thoughts on that?
I tested and the comments tab always says 0 even if there is a comment.
Created attachment 4046 [details]
0 comments shown when there is a comment
Created attachment 4049 [details] [review]
This new patch should display the number of comments correctly.
Comment on attachment 4043 [details] [review]
[% reviews.max %] should be [% reviews.size %]
Pushed and merged to master, please test