]> git.koha-community.org Git - koha.git/commit
Bug 18521: Fix key binding in the header
authorAlex Buckley <alexbuckley@catalyst.net.nz>
Thu, 24 May 2018 10:10:05 +0000 (10:10 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 2 Jul 2018 05:25:06 +0000 (07:25 +0200)
commit3a6a8707c593d063d488e96470fad5492dfd4e84
tree6c10a7f115be47c7323d63fddeb95d9790b6de23
parent9f59f945073334daff0339c0e24a7e8641de9e6b
Bug 18521: Fix key binding in the header

Moving the conditional block [% IF (CAN_user_circulate_circulate_remaining_permissions ) %] block up the checkin-search.inc file above the CAN_user_catalogue IF conditional block fixes this bug.

Test plan:
1. Go to the circ home page and confirm the following
keyboard shortcuts work:

Alt+q = goes to search catalog
Alt+w = goes to renew

2. Go to returns.pl and confirm the following  keyboard shortcuts work:

Alt+q = goes to renew
Alt+w = goes to search catalog

3. Apply patch

4. Restart apache2, memchached and plack

5. Confirm on the returns.pl the following keyboard shortcuts work:
Alt+q = goes to search catalog
Alt+w = goes to renew

Sponsored-By: Catalyst IT
Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Followed the test plan and it works.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 5c6c65476838d701b1f44199407efbade349967b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc