Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt
Owen Leonard 712ced4612
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>
2022-06-25 10:54:37 -03:00

17 lines
602 B
Text

[% INCLUDE 'doc-head-open.inc' %]
<title>Search for vendor &rsaquo; Serials &rsaquo; Koha</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="ser_acqui-search" class="ser">
<div class="container-fluid">
<h1>Serial subscription: search for vendor </h1>
<form action="/cgi-bin/koha/serials/acqui-search-result.pl" method="post">
<label for="text">Vendor name: </label>
<input id="text" type="text" size="25" name="supplier" autofocus="autofocus" />
<input type="submit" class="button" value="OK" />
</form>
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]