projects
/
Biblio-RFID.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a02727b
)
do circulation only from 3M reader
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 29 Oct 2014 13:28:59 +0000
(14:28 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 29 Oct 2014 13:28:59 +0000
(14:28 +0100)
examples/selfcheck.js
patch
|
blob
|
history
diff --git
a/examples/selfcheck.js
b/examples/selfcheck.js
index
032aa7e
..
16c28e5
100644
(file)
--- a/
examples/selfcheck.js
+++ b/
examples/selfcheck.js
@@
-232,6
+232,7
@@
function circulation( barcode, tag ) {
&& barcode.length == 10
&& barcode.substr(0,3) == 130
&& book_barcodes[barcode] != 1
+ && tag.reader == '3M810'
) { // book, not seen yet
book_barcodes[ barcode ] = 1;
pending_jsonp++;