]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Sat, 25 Jun 2022 13:54:37 +0000 (10:54 -0300)
commit712ced46128470010a043597c2ad7f956bd9b9cd
tree9091c53639a5ef4d16321cc7d8536537c2a3c054
parent347d9d733984170a04743510d50c5c8457484b60
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>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt