don't hide items that have notforloan < 0
This commit is contained in:
parent
4c95f2c1dc
commit
ef8690cbf2
|
|
@ -396,7 +396,7 @@ if (C4::Context->preference("sortbynonfiling")) {
|
|||
$sth_itemCN = $dbh->prepare("
|
||||
SELECT items.holdingbranch, items.location, items.itemcallnumber, count(*) AS cnt, items.itemnumber, items.notforloan
|
||||
FROM items
|
||||
WHERE biblionumber=? AND (itemlost = 0 OR itemlost IS NULL) AND (notforloan = 0 OR notforloan IS NULL)
|
||||
WHERE biblionumber=? AND (itemlost = 0 OR itemlost IS NULL) AND (notforloan < 1 OR notforloan IS NULL)
|
||||
GROUP BY items.holdingbranch, items.location, items.itemcallnumber
|
||||
ORDER BY homebranch");
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue