]> git.koha-community.org Git - koha.git/commit
Bug 23158: keep on-site checkout info when using itemBarcodeFallbackSearch
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 19 Jun 2019 11:42:16 +0000 (13:42 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 25 Jul 2019 11:22:25 +0000 (13:22 +0200)
commit8d29219ab9a5d3950e151bdcce93401de1e88d72
treec5fb12c0c6380656240e93fe46b00d16a31a6b60
parentb881cef7d357ee308a317c57c5f87bc973fa37a5
Bug 23158: keep on-site checkout info when using itemBarcodeFallbackSearch

When using preference itemBarcodeFallbackSearch one can enter a search term instead of a barcode in checkout form.
If on-site is selected this should be transmitted to itemBarcodeFallbackSearch form.

Test plan :
1) Enable system preferences "itemBarcodeFallbackSearch" and "OnSiteCheckouts"
2) Disable system preference "ConsiderOnSiteCheckoutsAsNormalCheckouts"
3) Go to a patron circulation page
4) Check "On-site checkout" in "Checkout settings"
5) Enter a barcode in checkout form and click on "Check out"
6) You see the checkout in table with red "(On-site checkout)"
7) Check "On-site checkout" in "Checkout settings"
8) Enter the title of a record in in checkout form and click on "Check out"
9) Click on "Checkout" on a line
10) You see the checkout in table with red "(On-site checkout)"

Signed-off-by: Arthur Bousquet <arthur.bousquet@inlibro.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 12ef157d757431520d63ab154b9572a855acf317)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt