projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa480ea
)
when reverting import batch: don't try to delete items that are already deleted
author
Galen Charlton
<galen.charlton@liblime.com>
Mon, 12 Nov 2007 23:13:44 +0000
(17:13 -0600)
committer
Joshua Ferraro
<jmf@liblime.com>
Tue, 13 Nov 2007 00:32:24 +0000
(18:32 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/ImportBatch.pm
patch
|
blob
|
history
diff --git
a/C4/ImportBatch.pm
b/C4/ImportBatch.pm
index
e17bc65
..
05dae67
100644
(file)
--- a/
C4/ImportBatch.pm
+++ b/
C4/ImportBatch.pm
@@
-596,6
+596,7
@@
sub BatchRevertItems {
my $sth = $dbh->prepare_cached("SELECT import_items_id, itemnumber
FROM import_items
+ JOIN items USING (itemnumber)
WHERE import_record_id = ?");
$sth->bind_param(1, $import_record_id);
$sth->execute();