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

(-)a/C4/Circulation.pm (-2 / +2 lines)
Lines 461-467 sub TooMany { Link Here
461
            if (C4::Context->preference('item-level_itypes')) {
461
            if (C4::Context->preference('item-level_itypes')) {
462
                $count_query .= " WHERE items.itype NOT IN ( $issuing_itemtypes_query )";
462
                $count_query .= " WHERE items.itype NOT IN ( $issuing_itemtypes_query )";
463
            } else {
463
            } else {
464
                $count_query .= " WHERE biblioitems.itemtype NOT IN ( $issuing_itemtypes_query )";
464
                $count_query .= " JOIN biblioitems USING (biblionumber)
465
                                  WHERE biblioitems.itemtype NOT IN ( $issuing_itemtypes_query )";
465
            }
466
            }
466
            push @bind_params, $maxissueqty_rule->branchcode;
467
            push @bind_params, $maxissueqty_rule->branchcode;
467
            push @bind_params, $maxissueqty_rule->categorycode;
468
            push @bind_params, $maxissueqty_rule->categorycode;
468
- 

Return to bug 21946