From 0a2a13ca13294166066eefa560d3fecc7d8bfb03 Mon Sep 17 00:00:00 2001 From: Matthias Meusburger Date: Mon, 8 Jun 2009 14:32:08 +0200 Subject: [PATCH] bug 3292: in opac branchcode should be replaced with name Signed-off-by: Galen Charlton --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl | 3 ++- opac/opac-detail.pl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl index 53e73c5878..540a396523 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl @@ -515,7 +515,8 @@

This is a serial subscription

(There are subscriptions associated with this title).

-

At branch:

+

At library:

+

At branch:

The latest issues for this subscription:

diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index a29fdb22c4..be8428d55f 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -107,6 +107,7 @@ foreach my $subscription (@subscriptions) { $cell{subscriptionid} = $subscription->{subscriptionid}; $cell{subscriptionnotes} = $subscription->{notes}; $cell{branchcode} = $subscription->{branchcode}; + $cell{branchname} = GetBranchName($subscription->{branchcode}); $cell{hasalert} = $subscription->{hasalert}; #get the three latest serials. $serials_to_display = $subscription->{opacdisplaycount}; -- 2.39.2