Bug 35205: Fix duplicate id attribute in desks search form
authorOwen Leonard <oleonard@myacpl.org>
Tue, 31 Oct 2023 16:58:48 +0000 (16:58 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Nov 2023 11:42:47 +0000 (08:42 -0300)
commit9a39c181dfc4b5075fe939620d18e4a6b28b45bd
tree417d4809fd6a42ad26d9868c1e61f9fbe15dca79
parent38e95c7769ccb7686c1e10347173bfaffa4b70c1
Bug 35205: Fix duplicate id attribute in desks search form

This patch updates the header search form for desks administration so
that it doesn't contain an HTML id attribute which duplicates one on the
desks entry form.

To test, apply the patch and make sure the "UseCirculationDesks" system
preference is enabled.

- Go to Administration -> Circulation desks -> New desk.
- Click the "Desk" label in the entry form. Cursor focus should move to
  the adjacent input field.
- Click the "Search desks" label in the header search form to confirm
  that your cursor moves to the header search form.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/desks-admin-search.inc