[Koha-bugs] [Bug 29043] Items are processed but not displayed on request.pl before a patron is selected
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Dec 5 06:52:56 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29043
--- Comment #10 from Samu Heiskanen <samu.heiskanen at hypernova.fi> ---
If you move the line:
323 my $biblio = Koha::Biblios->find( $biblionumber );
just before the foreach loop and add the line:
biblio => $biblio,
to:
738 # display infos
739 $template->param(
740 reserveloop => 1,
741 itemdata_enumchron => $itemdata_enumchron,
742 itemdata_ccode => $itemdata_ccode,
743 date => $date,
744 biblionumber => $biblionumber,
745 findborrower => $findborrower,
746 holdsview => 1,
747 C4::Search::enabled_staff_search_views,
748 );
like:
# display infos
$template->param(
reserveloop => 1,
itemdata_enumchron => $itemdata_enumchron,
itemdata_ccode => $itemdata_ccode,
date => $date,
biblionumber => $biblionumber,
findborrower => $findborrower,
biblio => $biblio,
holdsview => 1,
C4::Search::enabled_staff_search_views,
);
The patch works. What is your opinion, have I got it done correcly?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list