Browse Source

Bug 27713: Duplicate search field IDs in MARC framework administration template

This patch makes a minor change to the MARC framework administration
template so that the ID of a form field on the page isn't a duplicate of
one in the header search form.

To test, apply the patch and go to Administration -> MARC bibliographic
framework -> MARC structure.

- Test the "Search for tag" form field to confirm that it works
  correctly.
- Validate the HTML of the page to confirm that there are no "Duplicate
  ID" errors.

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.05.x
Owen Leonard 2 years ago
committed by Jonathan Druart
parent
commit
ebb70e4d16
  1. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt

4
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt

@ -159,8 +159,8 @@
[% IF ( else ) %]
<form name="f" action="[% script_name | html %]" method="post">
<fieldset style="padding:.5em;">
<label for="searchfield"><strong>Search for tag:</strong> </label>
<input type="text" name="searchfield" id="searchfield" size="4" value="[% searchfield | html %]" />
<label for="tag_search"><strong>Search for tag:</strong> </label>
<input type="text" name="searchfield" id="tag_search" size="4" value="[% searchfield | html %]" />
<label for="frameworkcode"><strong>In framework:</strong> </label>
<select id="frameworkcode" name="frameworkcode">

Loading…
Cancel
Save