don't hide items that have notforloan < 0

This commit is contained in:
kados 2006-07-07 21:26:24 +00:00
parent 4c95f2c1dc
commit ef8690cbf2
1 changed files with 1 additions and 1 deletions

View File

@ -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 {