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

--- Comment #5 from Savitra Sirohi <[email protected]> ---
My comment above got truncated for some reason:

Katrin, it works if we setup a "default rule definded for all libraries all
itemtypes and all patron categories with an allowed number of holds > 0".

When such a rule is not defined, the error "sorry, none of the items can be
placed on hold", also "title cannot be requested" is shown. 

The problem seems to be that in CanBookbeReserved:

my @items = get_itemnumbers_of($biblionumber);
   #get items linked via host records
   my @hostitems = get_hostitemnumbers_of($biblionumber);

   foreach my $item (@items){
       return 1 if CanItemBeReserved($borrowernumber, $item);
   }

CanItemBeReserved is expecting an itemnumber, but is receiving a hashref
instead.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to