From 040703f5a105b05daed08dd7e457ca0a162468f5 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 --- koha-tmpl/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 0114e1e..0092324 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.1.0