From d1a3eab5f07e8245cefcde4acf83eafeea92c24e Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 21 Feb 2015 22:24:03 +0100 Subject: [PATCH] Bug 13745: Fix serial collection page to always show branch name The serial collection page shows 2 tables, one for the subscriptions and a second for the issues. Both show the branch, but the first showed the code while the second showed the name. With this patch both tables show the name. To test: - Search for a subscription or create one - Navigate to the serial collection page (navigation on left side) - Check both tables on the page show the branch name with the patch applied Signed-off-by: Brendan Gallagher Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 90ac9ec545b9883de63943daef0ffe0692c1b799) Signed-off-by: Chris Cormack --- .../intranet-tmpl/prog/en/modules/serials/serials-collection.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt index 0114e1ef3c..0092324034 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt @@ -120,7 +120,7 @@ $(document).ready(function() { # [% subscription.subscriptionid %] [% subscription.frequency.description %] [% subscription.numberpattern.label %] - [% subscription.branchcode %] + [% IF subscription.branchcode %][% Branches.GetName( subscription.branchcode ) %][% END %] [% subscription.callnumber %] [% subscription.notes %] [% UNLESS subscription.closed %] -- 2.39.5