Bugzilla – Attachment 9768 Details for
Bug 8039
Self Checkout/SIP: Allow authentication with userid and password
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-bug_8039-Try-userid-if-cardnumber-borrower-search-fa.patch (text/plain), 864 bytes, created by
Srdjan Jankovic
on 2012-05-25 02:43:58 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Srdjan Jankovic
Created:
2012-05-25 02:43:58 UTC
Size:
864 bytes
patch
obsolete
>From 7cefe27fb50c4130c50b7a7a0899556512c390b7 Mon Sep 17 00:00:00 2001 >From: Srdjan <srdjan@catalyst.net.nz> >Date: Fri, 25 May 2012 14:41:16 +1200 >Subject: [PATCH] bug_8039: Try userid if cardnumber borrower search fails in > SIP > >--- > C4/SIP/ILS/Patron.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/SIP/ILS/Patron.pm b/C4/SIP/ILS/Patron.pm >index 99fd6e7..ccb08d8 100644 >--- a/C4/SIP/ILS/Patron.pm >+++ b/C4/SIP/ILS/Patron.pm >@@ -37,7 +37,7 @@ sub new { > my ($class, $patron_id) = @_; > my $type = ref($class) || $class; > my $self; >- $kp = GetMember(cardnumber=>$patron_id); >+ $kp = GetMember(cardnumber=>$patron_id) || GetMember(userid=>$patron_id); > $debug and warn "new Patron (GetMember): " . Dumper($kp); > unless (defined $kp) { > syslog("LOG_DEBUG", "new ILS::Patron(%s): no such patron", $patron_id); >-- >1.7.9.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8039
:
9768
|
9845
|
11070
|
13359
|
13981
|
13982