[Koha-patches] [PATCH] [3.0.x](bug #4930) fix inventory
Nahuel ANGELINETTI
nahuel.angelinetti at biblibre.com
Fri Jul 2 14:24:39 CEST 2010
this delete duplicate code that generate an error in a sql query and can't work when "pass on loan items" is checked.
---
C4/Items.pm | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/C4/Items.pm b/C4/Items.pm
index 3777834..d5a4167 100644
--- a/C4/Items.pm
+++ b/C4/Items.pm
@@ -1080,11 +1080,6 @@ END_SQL
push @where_strings, 'issues.date_due IS NULL';
}
- if ( $ignoreissued) {
- $query .= "LEFT JOIN issues ON items.itemnumber = issues.itemnumber ";
- push @where_strings, 'issues.date_due IS NULL';
- }
-
if ( @where_strings ) {
$query .= 'WHERE ';
$query .= join ' AND ', @where_strings;
--
1.7.0.4
More information about the Koha-patches
mailing list