Bugzilla – Attachment 28622 Details for
Bug 12336
Author of reserved book is not displayed in opac-user.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12336 - [SIGNED-OFF] Author of reserved book is not displayed in opac-user.pl
Bug-12336---SIGNED-OFF-Author-of-reserved-book-is-.patch (text/plain), 1.38 KB, created by
Magnus Enger
on 2014-06-02 18:27:21 UTC
(
hide
)
Description:
Bug 12336 - [SIGNED-OFF] Author of reserved book is not displayed in opac-user.pl
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2014-06-02 18:27:21 UTC
Size:
1.38 KB
patch
obsolete
>From 66a2faf20526c4cd2072da599259b8a2912043cc Mon Sep 17 00:00:00 2001 >From: Viktor Sarge <viktor.sarge@regionhalland.se> >Date: Mon, 2 Jun 2014 11:07:07 +0100 >Subject: [PATCH] Bug 12336 - [SIGNED-OFF] Author of reserved book is not > displayed in opac-user.pl > >This patch adds a line in opac-user.pl passing author info to opac-user.tt >Thanks to cait for helping me out and showing me how to solve this with half the amount of code. > >Test plan: >* Reserve a book. >* Go to the opac and log in as the patron you reserved the book for. >* Apply the patch with change to opac-user.pl >* Revisit the opac and refresh it. >* See if author now shows up > >Signed-off-by: Magnus Enger <digitalutvikling@gmail.com> >Created a hold. Author is not shown n the public catalogue before >applying the patch, but it does show after applying the patch. Way >to go, Viktor! >--- > opac/opac-user.pl | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/opac/opac-user.pl b/opac/opac-user.pl >index ea363b1..beba580 100755 >--- a/opac/opac-user.pl >+++ b/opac/opac-user.pl >@@ -279,6 +279,8 @@ foreach my $res (@reserves) { > $res->{'branch'} = $branches->{ $res->{'branchcode'} }->{'branchname'}; > my $biblioData = GetBiblioData($res->{'biblionumber'}); > $res->{'reserves_title'} = $biblioData->{'title'}; >+ $res->{'author'} = $biblioData->{'author'}; >+ > if ($show_priority) { > $res->{'priority'} ||= ''; > } >-- >1.9.1
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 12336
:
28594
|
28622
|
28632