projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba82ae3
)
bug 1742: don't include items on loan in pending holds report
author
Galen Charlton
<galen.charlton@liblime.com>
Fri, 14 Mar 2008 21:39:43 +0000
(16:39 -0500)
committer
Joshua Ferraro
<jmf@liblime.com>
Sat, 15 Mar 2008 13:37:16 +0000
(08:37 -0500)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
circ/pendingreserves.pl
patch
|
blob
|
history
diff --git
a/circ/pendingreserves.pl
b/circ/pendingreserves.pl
index
d05c8cf
..
b454644
100755
(executable)
--- a/
circ/pendingreserves.pl
+++ b/
circ/pendingreserves.pl
@@
-107,6
+107,7
@@
my $strsth =
LEFT JOIN biblio ON reserves.biblionumber=biblio.biblionumber
WHERE reserves.found is NULL
$sqldatewhere
+ AND items.itemnumber NOT IN (SELECT itemnumber FROM issues)
AND reserves.itemnumber is NULL";
if (C4::Context->preference('IndependantBranches')){