Bug 8996: In result page items with negative notforloan are available

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Passed-QA-by: Marcel de Rooy <M.de.Rooy@rijksmuseum.nl>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
Fridolyn SOMERS 2012-10-31 16:45:14 +01:00 committed by Jared Camins-Esakov
parent 239a5f76cb
commit 24216136f4
1 changed files with 2 additions and 2 deletions

View File

@ -1799,7 +1799,7 @@ sub searchResults {
else {
# item is on order
if ( $item->{notforloan} == -1 ) {
if ( $item->{notforloan} < 0 ) {
$ordered_count++;
}
@ -1837,7 +1837,7 @@ sub searchResults {
if ( $item->{wthdrawn}
|| $item->{itemlost}
|| $item->{damaged}
|| $item->{notforloan} > 0
|| $item->{notforloan}
|| $reservestatus eq 'Waiting'
|| ($transfertwhen ne ''))
{