[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4 SearchMarc.pm [rel_2_2]
From: |
Joshua Ferraro |
Subject: |
[Koha-cvs] koha/C4 SearchMarc.pm [rel_2_2] |
Date: |
Fri, 07 Jul 2006 21:26:24 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Joshua Ferraro <kados> 06/07/07 21:26:24
Modified files:
C4 : SearchMarc.pm
Log message:
don't hide items that have notforloan < 0
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/SearchMarc.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.36.2.30&r2=1.36.2.31
Patches:
Index: SearchMarc.pm
===================================================================
RCS file: /sources/koha/koha/C4/SearchMarc.pm,v
retrieving revision 1.36.2.30
retrieving revision 1.36.2.31
diff -u -b -r1.36.2.30 -r1.36.2.31
--- SearchMarc.pm 7 Jul 2006 21:10:13 -0000 1.36.2.30
+++ SearchMarc.pm 7 Jul 2006 21:26:24 -0000 1.36.2.31
@@ -396,7 +396,7 @@
$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 {