]> 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)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 22 Jun 2018 20:19:10 +0000 (20:19 +0000)
commitac7d5c0d4e50defc1fe2171e7fc22800545e3dd3
tree7a1c90e7baa692b4378a8a364d48d1e49c4c9da6
parentce6ec1e7faef217950e3450788ea444dad26d7c0
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>
koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc