Summary: | Show number of comments on the "Comments" tab in OPAC | ||
---|---|---|---|
Product: | Koha | Reporter: | Magnus Enger <magnus> |
Component: | OPAC | Assignee: | Magnus Enger <magnus> |
Status: | CLOSED FIXED | QA Contact: | Bugs List <koha-bugs> |
Severity: | enhancement | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | chris, koha.sekjal, nengard |
Version: | 3.6 | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Attachments: |
Proposed patch
0 comments shown when there is a comment Fixed patch |
Description
Magnus Enger
2011-05-05 12:56:42 UTC
Created attachment 4043 [details] [review] Proposed patch 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] Fixed patch This new patch should display the number of comments correctly. Comment on attachment 4043 [details] [review] Proposed patch [% reviews.max %] should be [% reviews.size %] Pushed and merged to master, please test |