Bug 21398: Make search field mandatory when adding to a basket from an existing record
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sat, 22 Sep 2018 14:08:16 +0000 (11:08 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 10 Oct 2018 09:51:40 +0000 (11:51 +0200)
commit10eb6cb65ebd917bf34872fb3efe98e7a37648fe
tree866075e1d79eff49ce4e22bedc997de84e870d7e
parentb8ee0a2cf5e9e35c948b46365c969e20434d1f36
Bug 21398: Make search field mandatory when adding to a basket from an existing record

Test plan:
- Create a basket
- Click the "Add to basket" button
- Click "Search" on the first line
=> Without this patch you get an ugly screen: https://snag.gy/U8X3ZK.jpg
=> With this patch applied you will not be able to submit without
filling the input in

QA note: Yes, we could handle that controller side as well, but much
more work.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit bf89e4e124fb38982fa8b9708af1fb67fd16f982)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 01588a68aa74c6fe32329178840e9cc542e2829c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-add-to-basket.inc