]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 27 Jun 2018 10:43:31 +0000 (11:43 +0100)
commit5c6c65476838d701b1f44199407efbade349967b
treeb6464978ddb2dfc766ab4cdef8b2f8cc69ef6677
parent6f5952023c615e72d3fe36aafe3b5fd82c8794fd
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>
koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc