[Koha-bugs] [Bug 12336] New: Author of reserved book is not displayed in opac-user.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 30 13:17:01 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12336

            Bug ID: 12336
           Summary: Author of reserved book is not displayed in
                    opac-user.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: viktor.sarge at regionhalland.se
        QA Contact: testopia at bugs.koha-community.org

When viewing reserved books in the opac in opac-user.pl only title is displayed
and no author. This is odd since opac-user.tt actually tries to output [%
RESERVE.author %]. The fix seems to be to add $res->{'author'} =
$biblioData->{'author'}; at the appropriate place in opac-user.pl so that the
template file actually has a value to output in [% RESERVE.author %]

Extra cred to cait for helping me out and stripping down my solution to 50% of
the code for a total of adding 1 line in 1 file :) 

If I can wrap my head around git-bz I'll send a patch for this.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list