From 88a0d5225ab1bed1a90e4b40f21c0a005430b3ec Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 12 May 2022 15:14:32 +0000 Subject: [PATCH] Bug 29055: Focus on keyword field when subscription biblio search window opens This patch adds the "autofocus" attribute to the keyword field in the popup window used to find a bibliographic record to use in a subscription. The same is also done for the vendor search popup. To test, apply the patch and go to Serials -> New subscription. - Click the "Search for vendor" link. When the "Serial subscription: search for vendor" window opens the cursor should automatically be in the vendor search field. - Click the "Search for record" link. When the "Catalog search" window opens the cursor focus should automatically be in the keyword field. Signed-off-by: David Nind Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 712ced46128470010a043597c2ad7f956bd9b9cd) Signed-off-by: Lucas Gass (cherry picked from commit edee82be94738ca57f5d8a91e3d08373536c4373) Signed-off-by: Arthur Suzuki --- koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt | 2 +- .../prog/en/modules/serials/subscription-bib-search.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt index e3481620a5..48d601e9a9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt @@ -10,7 +10,7 @@

Serial subscription: search for vendor

- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt index 40f29226b6..0da440777d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt @@ -17,7 +17,7 @@
  1. - +
  2. -- 2.39.5