Bug 26249: Set keep_text class correctly in cat-search.inc
commit81b14467af36424183fbf2d3a281262e63d441fa
authorDavid Cook <dcook@prosentient.com.au>
Wed, 19 Aug 2020 05:44:57 +0000 (19 15:44 +1000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 28 Sep 2020 14:09:11 +0000 (28 16:09 +0200)
tree031b875a3462f841f0c448d1dbd5ecf9d54b4284
parente8522d8231ad096f4cc25b2a7aee8466d03c5bc2
Bug 26249: Set keep_text class correctly in cat-search.inc

This patch sets the keep_text class correctly in cat-search.inc
for the "Search the catalog" tab

To test:
1) Apply the patch
2) Go to /cgi-bin/koha/catalogue/search.pl
3) Type "A" into the search box for "Search the catalog"
4) Click on the "Check out" tab
5) Note that "A" appears in search box
6) Change "A" to "B" in search box
7) Click on the "Search the catalog" box
8) Note that "B" appears in the search box
9) Note no Javascript errors in the console

Signed-off-by: Didier Gautheron <didier.gautheron@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc