I've been trying to figure out why my patrons can't place holds on on-order items (items.notforloan = -1) from the OPAC. If found this in opac-reserve.pl (line 138):
if (!$itm->{'notforloan'} && !($itm->{'itemnotforloan'} > 0)){ $forloan=1; } Trying to find out what the difference was between $itm->{'notforloan'} and $itm->{'itemnotforloan'} I checked GetItemsInfo() in Items.pm. GetItemsInfo() SELECTs both "items.*" and "items.notforloan as itemnotforloan." So $itm->{'notforloan'} and $itm->{'itemnotforloan'} are the same thing? Changing line 138 of opac-reserve.pl to if ($itm->{'notforloan'} <1){ $forloan=1; } ...would be correct wouldn't it? -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel