bug 3292: in opac branchcode should be replaced with name
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
58920538f1
commit
0a2a13ca13
2 changed files with 3 additions and 1 deletions
|
@ -515,7 +515,8 @@
|
|||
<h2>This is a serial subscription</h2>
|
||||
<p> (There are <!-- TMPL_VAR NAME="subscriptionsnumber" --> subscriptions associated with this title).</p>
|
||||
<!-- TMPL_LOOP Name="subscriptions" -->
|
||||
<!-- TMPL_IF name="branchcode" --><h3>At branch: <!-- TMPL_VAR NAME="branchcode" --></h3><!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF name="branchname" --><h3>At library: <!-- TMPL_VAR NAME="branchname" --></h3><!-- TMPL_ELSE -->
|
||||
<!-- TMPL_IF name="branchcode" --><h3>At branch: <!-- TMPL_VAR NAME="branchcode" --></h3><!-- /TMPL_IF --><!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR NAME="subscriptionnotes"--> </p><!-- /TMPL_IF -->
|
||||
<!--TMPL_IF NAME="latestserials"-->
|
||||
<p> The <!-- TMPL_VAR NAME="opacdisplaycount" --> latest issues for this subscription:</p>
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue