]> git.koha-community.org Git - koha.git/commit
Bug 29055: Focus on keyword field when subscription biblio search window opens
authorOwen Leonard <oleonard@myacpl.org>
Thu, 12 May 2022 15:14:32 +0000 (15:14 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Thu, 11 Aug 2022 11:44:36 +0000 (13:44 +0200)
commit88a0d5225ab1bed1a90e4b40f21c0a005430b3ec
tree493fd4736267663e8617142e0159095e9ca03b0f
parentaa4a75d887c412af68713bc945bddbd84ad2a542
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 <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 712ced46128470010a043597c2ad7f956bd9b9cd)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit edee82be94738ca57f5d8a91e3d08373536c4373)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt