Bug 31887: Fix search on MARC field in Elasticsearch mappings table
In Elasticsearch mappings table, in tabs with MARC fields, searching using DataTable search field does not work for MARC fields / subfields. This is because cell contains an input HTML tag with MARC data in attribute value. Test plan : 1) Go to Administration > Search engine configuration (Elasticsearch) 2) Go to tab 'Bibliographic records' 3) Enter in search field a used MARC field (like 245) => Table gets filtered by rows with mapping on searched field 4) Enter in search field the field+subfield used for issues (952l in KTD) => Table gets filtered by rows with mapping on field+subfield Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
d7d2b86136
commit
07c5776ed9
1 changed files with 2 additions and 2 deletions
|
@ -302,7 +302,7 @@ a.add, a.delete {
|
|||
<td>
|
||||
<input type="hidden" name="mapping_search" value="[% mapping.search | html %]" readonly />[% IF mapping.search == 1 %]Yes[% ELSE %]No[% END %]
|
||||
</td>
|
||||
<td>
|
||||
<td data-search="[% mapping.marc_field | html %]">
|
||||
<input name="mapping_marc_field" type="text" value="[% mapping.marc_field | html %]" />
|
||||
</td>
|
||||
<td> </td>
|
||||
|
@ -363,7 +363,7 @@ a.add, a.delete {
|
|||
[% END %]
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<td data-search="[% mapping.marc_field | html %]">
|
||||
<input name="mapping_marc_field" type="text" value="[% mapping.marc_field | html %]" />
|
||||
</td>
|
||||
[% IF mapping.search_field_mandatory %]
|
||||
|
|
Loading…
Reference in a new issue