From 400a6e3fc2e0fa9e72a74117e5ce4f8db4dc941b Mon Sep 17 00:00:00 2001 From: Tim McMahon Date: Fri, 29 Jul 2022 13:29:52 -0500 Subject: [PATCH] Bug 30499: Move the include for catalogue-search-box.inc in circ-search.inc to correct keyboard shortcuts MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Keyboard shortcuts for catalog search, check in and renew should be following: 1) Alt-q for catalog search 2) Alt-r for check in 3) Alt-w for renew However on some of the pages shortcuts get mixed up: 1) Alt-w for catalog search 2) Alt-q for check in 3) Alt-r for renew Affected files are: circ/pendingreserves.tt circ/circulation_batch_checkouts.tt circ/circulation-home.tt circ/branchtransfers.tt circ/branchoverdues.tt circ/set-library.tt circ/checkout-notes.tt circ/renew.tt circ/waitingreserves.tt circ/transferstoreceive.tt circ/offline.tt circ/bookcount.tt circ/on-site_checkouts.tt circ/circulation.tt circ/transfers_to_send.tt circ/request-article.tt circ/overdue.tt circ/reserveratios.tt offline_circ/list.tt offline_circ/process_koc.tt offline_circ/enqueue_koc.tt plugins/plugins-upload.tt plugins/plugins-disabled.tt pos/registers.tt pos/register.tt pos/pay.tt reports/reports-home.tt reports/dictionary.tt reports/guided_reports_start.tt reserve/request.tt tools/scheduler.tt This is because the include statement for catalogue-search-box.inc is in the wrong line in circ-search.inc. To test: 1) Go to an affected page (circulation-home was the first one I noticed) 2) Try the keyboard shortcuts and notice they are incorrect 3) Apply patch and refresh the page 4) Notice that the keys work properly Signed-off-by: Andrew Signed-off-by: Joonas Kylmälä Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 94191e5bfe681dca021bb133c9593bc5bc7e2193) Signed-off-by: Lucas Gass (cherry picked from commit ab884f60f2d37ae59d9ee355de6737dbe90e2426) Signed-off-by: Arthur Suzuki --- koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc index de45b257d7..8e008441e6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc @@ -4,7 +4,6 @@