]> git.koha-community.org Git - koha.git/commit
Bug 21046: Return the correct borrowernumber when there is empty cardnumber(s)
authorAlex Arnaud <alex.arnaud@biblibre.com>
Fri, 6 Jul 2018 13:40:53 +0000 (13:40 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 12 Jul 2018 12:16:27 +0000 (12:16 +0000)
commita6b8fc9b2e29b91cef62def4f8b4fed98efa9aea
tree7dabaaab64bc91b71b5b58c2c9d0c6de32847eda
parent68ff8702e09be9879d508ea82c0ef7fab53c0ee9
Bug 21046: Return the correct borrowernumber when there is empty cardnumber(s)

Test plan:
  - Use a patron with an empty cardnumber to authenticate with ILSDI
    AuthenticatePatron
    (cgi-bin/koha/ilsdi.pl?service=AuthenticatePatron&username=userid&password=pass),
  - make sure you have other patron(s) with empty cardnumber and there
    borrowernumber is
    smaller than the one you authenticate with,
  - you should get a wrong borrowernumber,
  - apply this patch,
  - test again, you should get the right one

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/ILSDI/Services.pm
t/db_dependent/ILSDI_Services.t