In cat-search.inc, the keep_text class should be set on the A elements but the "Search the catalog" is set on the LI element.
Created attachment 108570 [details] [review] 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
Created attachment 110648 [details] [review] 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>
Created attachment 110690 [details] [review] 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>
Pushed to master for 20.11, thanks to everybody involved!
backported to 20.05.x for 20.05.05
minor bug/enhancement, not backported to 19.11.x