]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 29 Jul 2022 16:09:26 +0000 (16:09 +0000)
commitedee82be94738ca57f5d8a91e3d08373536c4373
treedd395c5c75803ba4153ed4a19eb621a055c85bbe
parent17281b62ef27742183c0f1c41fa83520cd70cf49
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>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt