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

(-)a/C4/Reserves.pm (-3 / +1 lines)
Lines 1685-1692 sub _Findgroupreserve { Link Here
1685
        FROM reserves
1685
        FROM reserves
1686
        JOIN biblioitems USING (biblionumber)
1686
        JOIN biblioitems USING (biblionumber)
1687
        JOIN hold_fill_targets USING (biblionumber, borrowernumber)
1687
        JOIN hold_fill_targets USING (biblionumber, borrowernumber)
1688
        WHERE found IS NULL
1688
        WHERE ( ( found IS NULL AND priority > 0 ) OR found='T' )
1689
        AND priority > 0
1690
        AND item_level_request = 0
1689
        AND item_level_request = 0
1691
        AND hold_fill_targets.itemnumber = ?
1690
        AND hold_fill_targets.itemnumber = ?
1692
        AND reservedate <= DATE_ADD(NOW(),INTERVAL ? DAY)
1691
        AND reservedate <= DATE_ADD(NOW(),INTERVAL ? DAY)
1693
- 

Return to bug 18958