Bug 17946: Show number of subscriptions on tab in OPAC record details
authorAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 19 Jan 2017 21:54:12 +0000 (21:54 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 31 Mar 2017 13:49:49 +0000 (13:49 +0000)
commit14814bc9a6986ed33da41767afcbf63084e73c9c
treef36c767e9f8c8571830c2e5fe0a463ac586c01db
parent5693f102204f9685fc4b33c74315b22e1536b241
Bug 17946: Show number of subscriptions on tab in OPAC record details

This patch removes some duplicate code.

To test:
1) Edit at least one subscription (or add a new one) to have a record
2) Find that record on the OPAC
3) Confirm that the Subscriptions tab reads the correct number of
subscriptions attached to the record

Sponsored-by: Catalyst IT

Signed-off-by: JMBroust <jean-manuel.broust@univ-lyon2.fr>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
opac/opac-detail.pl