[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
Mon Jan 17 15:19:05 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29043

--- Comment #41 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
@ reserve/request.pl:440 @ if (   ( $findborrower && $borrowernumber_hold ||
$findclub && $club_hold )
               }
         };

+        if ( $club_hold or $borrowernumber_hold ) {
             my @bibitemloop;

             my @available_itemtypes;
@ reserve/request.pl:673 @ if (   ( $findborrower && $borrowernumber_hold ||
$findclub && $club_hold )
             }

             @available_itemtypes = uniq( @available_itemtypes );
-        $template->param( available_itemtypes => \@available_itemtypes );
+            $template->param(
+                bibitemloop         => \@bibitemloop,
+                available_itemtypes => \@available_itemtypes
+            );
+        }

         # existingreserves building
         my @reserveloop;
@ reserve/request.pl:744 @ if (   ( $findborrower && $borrowernumber_hold ||
$findclub && $club_hold )

         # display infos
         $template->param(
-                         bibitemloop       => \@bibitemloop,
                          itemdata_enumchron => $itemdata_enumchron,
                          itemdata_ccode    => $itemdata_ccode,
                          date              => $date,

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


More information about the Koha-bugs mailing list