Bugzilla – Attachment 58869 Details for
Bug 7654
Add location at opac subscription view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7654: Add location at opac subscription view
Bug-7654-Add-location-at-opac-subscription-view.patch (text/plain), 3.04 KB, created by
Julian Maurice
on 2017-01-12 12:07:20 UTC
(
hide
)
Description:
Bug 7654: Add location at opac subscription view
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2017-01-12 12:07:20 UTC
Size:
3.04 KB
patch
obsolete
>From 05240ae978dc094ef4cfb9ff54891d210920e7a8 Mon Sep 17 00:00:00 2001 >From: Lyon3 Team <koha@univ-lyon3.fr> >Date: Thu, 17 Jan 2013 18:55:01 +0100 >Subject: [PATCH] Bug 7654: Add location at opac subscription view > >Also fix a bug that prevent branch name to be displayed >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 9 ++++----- > opac/opac-detail.pl | 2 ++ > 2 files changed, 6 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index e4fb61f..f62cad9 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -796,11 +796,7 @@ > <p>There are [% subscriptionsnumber %] subscription(s) associated with this title.</p> > [% FOREACH subscription IN subscriptions %] > [% IF ( subscription.branchcode ) %] >- <h3>At library: [% Branches.GetName( subscription.branchname ) %]</h3> >- [% ELSE %] >- [% IF ( subscription.branchcode ) %] >- <h3>At library: [% subscription.branchcode %]</h3> >- [% END %] >+ <h3>At library: [% Branches.GetName( subscription.branchcode ) %]</h3> > [% END %] > [% IF ( subscription.closed ) %] > <p>This subscription is closed.</p> >@@ -816,6 +812,9 @@ > [% IF ( subscription.opacnote ) %] > <p>[% subscription.opacnote FILTER html_line_break %]</p> > [% END %] >+ [% IF subscription.location_description || subscription.location %] >+ <p>Location: [% IF subscription.location_description %][% subscription.location_description %][% ELSE %][% subscription.location %][% END %]</p> >+ [% END %] > [% IF ( subscription.callnumber ) %] > <p>Call number: [% subscription.callnumber %]</p> > [% END %] >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index a7e643c..2734ae7 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -569,6 +569,8 @@ foreach my $subscription (@subscriptions) { > $cell{histenddate} = $subscription->{histenddate}; > $cell{branchcode} = $subscription->{branchcode}; > $cell{hasalert} = $subscription->{hasalert}; >+ $cell{location} = $subscription->{location}; >+ $cell{location_description} = $shelflocations->{ $subscription->{'location'} }; > $cell{callnumber} = $subscription->{callnumber}; > $cell{closed} = $subscription->{closed}; > #get the three latest serials. >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7654
:
8032
|
8200
|
8306
|
14681
|
16677
|
16678
| 58869