Lines 523-530
sub CanItemBeReserved{
Link Here
|
523 |
# level itemtype if the hold has no associated item |
523 |
# level itemtype if the hold has no associated item |
524 |
$querycount .= |
524 |
$querycount .= |
525 |
C4::Context->preference('item-level_itypes') |
525 |
C4::Context->preference('item-level_itypes') |
526 |
? " AND COALESCE( itype, itemtype ) = ?" |
526 |
? " AND COALESCE( items.itype, biblioitems.itemtype ) = ?" |
527 |
: " AND itemtype = ?" |
527 |
: " AND biblioitems.itemtype = ?" |
528 |
if ( $ruleitemtype ne "*" ); |
528 |
if ( $ruleitemtype ne "*" ); |
529 |
|
529 |
|
530 |
my $sthcount = $dbh->prepare($querycount); |
530 |
my $sthcount = $dbh->prepare($querycount); |
531 |
- |
|
|