Koha/admin
Janusz Kaczmarek d90c2a44e7
Bug 36554: Document languages from field 041 should be present in 'ln' search field and Languages facet (MARC 21)
In Elasticsearch, the field 041 (subfields: a, d, e, i, j)
is not indexed with 'ln' search field.  As a result, records cannot
be found when searching with languages present in 041 (but only
with the one from 008/35-37), and the languages are also missing
from the facet.

Subfields content (only relevant subfields):
$a - Language code of text/sound track or separate title
$d - Language code of sung or spoken text
$e - Language code of librettos
$i - Language code of intertitles
$j - Language code of subtitles

Test plan
=========
0. Have a test installation with Elasticsearch.
1. In ktd with its test data, make a biblio search for a language present
   in 041 a/d/e/i/j but not in 008/35-37, e.g. for Japanese (with ln:jpn
   or from Advance search).  You will get no results.
2. Apply the patch, reindex with:
   sudo koha-elasticsearch --rebuild -r -b kohadev
3. Repeat the test. You should get some records and also you should see
   the Japanese language in the Languages facet.

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-05-06 11:18:15 +02:00
..
searchengine/elasticsearch Bug 36554: Document languages from field 041 should be present in 'ln' search field and Languages facet (MARC 21) 2024-05-06 11:18:15 +02:00
additional-fields.pl
admin-home.pl Bug 36206: (QA follow-up) Tidy admin-home.pl 2024-04-26 14:14:56 +02:00
adveditorshortcuts.pl
aqbudgetperiods.pl
aqbudgets.pl
aqcontract.pl
aqplan.pl
audio_alerts.pl
auth_subfields_structure.pl
auth_tag_structure.pl
authorised_values.pl
authtypes.pl
background_jobs.pl
biblio_framework.pl
branch_transfer_limits.pl
branches.pl Bug 6796: Take CalenderFirstDayOfWeek and TimeFormat into account 2024-04-12 11:26:08 +02:00
cash_registers.pl
categories.pl
check_budget_parent.pl
check_parent_total.pl
checkmarc.pl
cities.pl
classsources.pl
clone-rules.pl
columns_settings.pl
columns_settings.yml Bug 36614: Restore 'phone' on the main patron search 2024-05-02 13:19:12 +02:00
credit_types.pl
curbside_pickup.pl
currency.pl
debit_types.pl
desks.pl Bug 36597: Fix deletion of circulation desks broken by CSRF 2024-04-18 16:51:11 +02:00
didyoumean.pl
edi_accounts.pl Bug 35724: Define non-standard ports for EDI SFTP in EDI accounts 2024-04-19 18:31:36 +02:00
edi_ean_accounts.pl
identity_providers.pl
ill_batch_statuses.pl Bug 35581: Illbatchstatus* -> ILL::Batch::Status* 2024-04-22 08:57:42 +02:00
import_export_authtype.pl
import_export_framework.pl
item_circulation_alerts.pl
items_search_field.pl
items_search_fields.pl
itemtypes.pl
koha2marclinks.pl
library_groups.pl
localization.pl
marc-overlay-rules.pl
marc_subfields_structure.pl Bug 36395: Remove useless fetch in admin/marc_subfields_structure.pl 2024-04-05 11:51:16 +02:00
marctagstructure.pl
matching-rules.pl
oai_set_mappings.pl
oai_sets.pl
overdrive.pl
patron-attr-types.pl Bug 32610: Add date option to extended patron attributes administration page 2024-04-30 17:09:48 +02:00
preferences.pl
record_sources.pl Bug 35919: Add record sources admin page 2024-04-26 17:06:04 +02:00
restrictions.pl
search_filters.pl
share_content.pl
smart-rules.pl Bug 36673: Filter used categories and item types to current branch 2024-05-03 16:02:44 +02:00
sms_providers.pl
smtp_servers.pl
sru_modmapping.pl
systempreferences.pl
transfer_limits.pl
transport-cost-matrix.pl
usage_statistics.pl
z3950servers.pl