[Koha-bugs] [Bug 7970] Holds not working in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 17 13:05:34 CEST 2012


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

--- Comment #2 from Savitra Sirohi <savitra.sirohi at osslabs.biz> ---
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);
   }

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


More information about the Koha-bugs mailing list