Bugzilla – Attachment 36439 Details for
Bug 13611
Make serial enumeration visible in user account when browsing own holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13611 - Serial enumeration not visible in the opac-user.pl when browsing own holds.
Bug-13611---Serial-enumeration-not-visible-in-the-.patch (text/plain), 2.91 KB, created by
Brendan Gallagher
on 2015-03-04 08:31:17 UTC
(
hide
)
Description:
Bug 13611 - Serial enumeration not visible in the opac-user.pl when browsing own holds.
Filename:
MIME Type:
Creator:
Brendan Gallagher
Created:
2015-03-04 08:31:17 UTC
Size:
2.91 KB
patch
obsolete
>From f089e17535188d248b44080a1a80beaa825b61a0 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> >Date: Thu, 22 Jan 2015 15:46:48 +0200 >Subject: [PATCH] Bug 13611 - Serial enumeration not visible in the > opac-user.pl when browsing own holds. > >Having placed holds on Serial Items with an enumchron, and browsing the >opac-user.pl's "Holds"-tab, the user cannot see which numbers of >magazines/serials he has on hold. > >This patch appends the koha.items.enumchron after the title component in the >opac-user.pl's Holds-view. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> > >Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 8 +++++++- > opac/opac-user.pl | 1 + > 2 files changed, 8 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index f4cbddb..2e8d18f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -525,7 +525,13 @@ > <tr> > [% END %] > <td class="title"> >- <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RESERVE.biblionumber %]">[% RESERVE.reserves_title %] [% FOREACH subtitl IN RESERVE.subtitle %] [% subtitl.subfield %][% END %]</a> >+ <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RESERVE.biblionumber %]"> >+ [% RESERVE.reserves_title %] >+ [% FOREACH subtitl IN RESERVE.subtitle %] >+ [% subtitl.subfield %] >+ [% END %] >+ [% RESERVE.enumchron %] >+ </a> > [% RESERVE.author %] > </td> > <td class="reservedate"> >diff --git a/opac/opac-user.pl b/opac/opac-user.pl >index 995db7b..56354c8 100755 >--- a/opac/opac-user.pl >+++ b/opac/opac-user.pl >@@ -311,6 +311,7 @@ foreach my $res (@reserves) { > $res->{'holdingbranch'} = > $branches->{ $item->{'holdingbranch'} }->{'branchname'}; > $res->{'branch'} = $branches->{ $res->{'branchcode'} }->{'branchname'}; >+ $res->{'enumchron'} = $item->{'enumchron'} if $item->{'enumchron'}; > # get document reserve status > my $biblioData = GetBiblioData($res->{'biblionumber'}); > $res->{'waiting_title'} = $biblioData->{'title'}; >-- >1.7.10.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 13611
:
35465
|
36279
| 36439