View | Details | Raw Unified | Return to bug 18958
Collapse All | Expand All

(-)a/C4/Reserves.pm (-3 / +1 lines)
Lines 1577-1584 sub _Findgroupreserve { Link Here
1577
        FROM reserves
1577
        FROM reserves
1578
        JOIN biblioitems USING (biblionumber)
1578
        JOIN biblioitems USING (biblionumber)
1579
        JOIN hold_fill_targets USING (biblionumber, borrowernumber)
1579
        JOIN hold_fill_targets USING (biblionumber, borrowernumber)
1580
        WHERE found IS NULL
1580
        WHERE ( ( found IS NULL AND priority > 0 ) OR found='T' )
1581
        AND priority > 0
1582
        AND item_level_request = 0
1581
        AND item_level_request = 0
1583
        AND hold_fill_targets.itemnumber = ?
1582
        AND hold_fill_targets.itemnumber = ?
1584
        AND reservedate <= DATE_ADD(NOW(),INTERVAL ? DAY)
1583
        AND reservedate <= DATE_ADD(NOW(),INTERVAL ? DAY)
1585
- 

Return to bug 18958