projects
/
koha-dla
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43d61f4
)
update itemlost = 0 on seen items
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 10 Oct 2018 13:17:24 +0000
(15:17 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 10 Oct 2018 13:17:24 +0000
(15:17 +0200)
update.sql
patch
|
blob
|
history
diff --git
a/update.sql
b/update.sql
index
ec84634
..
8164516
100644
(file)
--- a/
update.sql
+++ b/
update.sql
@@
-7,5
+7,5
@@
inner join (
having datelastseen < max(date_scanned)
) as b
on a.barcode = b.barcode
-set a.datelastseen = b.date_scanned ;
+set a.datelastseen = b.date_scanned
, a.itemlost = 0
;