projects
/
share-koha-fer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58a7e1f
)
JMBAG: support in circulation for random junk from reader
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 11 Sep 2019 12:40:43 +0000
(14:40 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 11 Sep 2019 12:40:43 +0000
(14:40 +0200)
intranet/cgi-bin/circ/circulation.pl
patch
|
blob
|
history
diff --git
a/intranet/cgi-bin/circ/circulation.pl
b/intranet/cgi-bin/circ/circulation.pl
index
43ce1aa
..
b2bf087
100755
(executable)
--- a/
intranet/cgi-bin/circ/circulation.pl
+++ b/
intranet/cgi-bin/circ/circulation.pl
@@
-246,6
+246,8
@@
if ( $print eq 'yes' && $borrowernumber ne '' ) {
#
my $message;
if ($findborrower) {
+ # FIXME dpavlin - FER
+ $findborrower =~ s/^.*%B601983\d\d(\d{10})\d&.*$/S$1/ && warn "JMBAG: $1";
my $patron = Koha::Patrons->find( { cardnumber => $findborrower } );
if ( $patron ) {
$borrowernumber = $patron->borrowernumber;