]> git.koha-community.org Git - koha.git/commit
Bug 30622: Patron search when placing hold should redirect if cardnumber is entered
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 27 Apr 2022 14:44:53 +0000 (16:44 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 6 May 2022 20:33:10 +0000 (10:33 -1000)
commit0d196ae7fb0f2b977e9986eb58c8081f61808178
treebf431001df57c434bacc03bb8ea8654bc0686ed1
parenta3aaf10e59ff44c8c8dbef6dcd5f28aba2fb8d2d
Bug 30622: Patron search when placing hold should redirect if cardnumber is entered

When search a patron for placing a hold, if a cardnumber is entered we
should pick the patron and use it, instead of display the table result.

This was a regression caused by bug 30063.

Test plan:
- Place a hold on anything in staff
- Search for 42 or any other existing cardnumber in your database

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt