Bug 21492

Summary: Show subscriptions count in the sidebar menu
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: charles.farmer, gmcharlt, josef.moravec, katrin.fischer, martin.renvoize, nick, philippe.blouin, severine.queune, testopia
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 21291    
Bug Blocks:    
Attachments: Bug 21492: Show subscriptions count in the sidebar menu
Bug 21492: Show subscriptions count in the sidebar menu

Description Owen Leonard 2018-10-04 18:04:22 UTC
The various bibliographic view templates all have available to them a count of the subscriptions for that title. We should show it in the sidebar menu as:

Subscriptions (2)

Instead of...

Subscription(s)
Comment 1 Owen Leonard 2018-10-10 13:43:02 UTC
Created attachment 80350 [details] [review]
Bug 21492: Show subscriptions count in the sidebar menu

This patch modifies the include file for the sidebar menu of
bibliographic views so that a count of subscriptions is shown on the
subscriptions tab.

To test you should have bibliographic record with one or more
subscriptions. View that bibliographic record and confirm that the
sidebar menu tab shows the count of subscriptions.
Comment 2 Katrin Fischer 2018-10-11 21:21:05 UTC
Created attachment 80429 [details] [review]
Bug 21492: Show subscriptions count in the sidebar menu

This patch modifies the include file for the sidebar menu of
bibliographic views so that a count of subscriptions is shown on the
subscriptions tab.

To test you should have bibliographic record with one or more
subscriptions. View that bibliographic record and confirm that the
sidebar menu tab shows the count of subscriptions.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

https://bugs.koha-community.org/show_bug.cgi?id=21291
Comment 3 Katrin Fischer 2018-10-11 21:21:29 UTC
Really nice one line patch, PQA too.
Comment 4 Nick Clemens (kidclamp) 2018-10-24 17:33:45 UTC
Awesome work all!

Pushed to master for 18.11
Comment 5 Martin Renvoize 2018-11-06 10:31:12 UTC
Enhancement, will not be backported to 18.05.x series.