Bugzilla – Attachment 16677 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]
[PASSED QA] Bug 7654:Add location and callnumber at opac subscription view
PASSED-QA-Bug-7654Add-location-and-callnumber-at-o.patch (text/plain), 3.11 KB, created by
Paul Poulain
on 2013-03-21 17:11:35 UTC
(
hide
)
Description:
[PASSED QA] Bug 7654:Add location and callnumber at opac subscription view
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2013-03-21 17:11:35 UTC
Size:
3.11 KB
patch
obsolete
>From b7b2ccfa868745e94cdfc5d3f4212dd707ab119a 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] [PASSED QA] Bug 7654:Add location and callnumber at opac > subscription view > >Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> >--- > koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 8 ++++++-- > opac/opac-detail.pl | 4 +++- > 2 files changed, 9 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >index 6321efd..69a226e 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >@@ -1146,10 +1146,14 @@ YAHOO.util.Event.onContentReady("furtherm", function () { > <h2>This is a serial</h2> > <p>There are [% subscriptionsnumber %] subscription(s) associated with this title.</p> > [% FOREACH subscription IN subscriptions %] >- [% IF ( subscription.branchname ) %]<h3>At library: [% subscription.branchname %]</h3>[% ELSE %] >- [% IF ( subscription.branchcode ) %]<h3>At library: [% subscription.branchcode %]</h3>[% END %][% END %] >+ <h3><br> >+ [% IF ( subscription.branchname ) %][% subscription.branchname %][% ELSE %] >+ [% IF ( subscription.branchcode ) %][% subscription.branchcode %][% END %][% END %] >+ [% IF ( subscription.location_description ) %], [% subscription.location_description %][% ELSIF subscription.location %], [% subscription.location %][% END %] >+ [% IF ( subscription.callnumber ) %], [% subscription.callnumber %][% END %] > [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %] > <span style="display:none;"> [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %]</p>[% END %]</span> >+ </h3> > [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %] > <p>Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] now (current)[% END %]</p> > [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %] >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index 4371f65..e5b3f99 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -471,8 +471,10 @@ foreach my $subscription (@subscriptions) { > $cell{histenddate} = $subscription->{histenddate}; > $cell{branchcode} = $subscription->{branchcode}; > $cell{branchname} = GetBranchName($subscription->{branchcode}); >- $cell{hasalert} = $subscription->{hasalert}; >+ $cell{location} = $subscription->{location}; >+ $cell{location_description} = $shelflocations->{ $subscription->{'location'} }; > $cell{callnumber} = $subscription->{callnumber}; >+ $cell{hasalert} = $subscription->{hasalert}; > $cell{closed} = $subscription->{closed}; > #get the three latest serials. > $serials_to_display = $subscription->{opacdisplaycount}; >-- >1.7.9.5
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