Koha/admin
Nick Clemens af505c9117
Bug 33594: Only sort on title main heading
This patch simply remvoes sort from all elements that are not strictly
the main title

Note:
If multiple fields are set as sort, they are collapsed into a single entry in
the {field}__sort field in the ES index. The order will be determined by the order in
the marc record

To test:
1 - Apply patch
2 - perl misc/search_tools/rebuild_elasticsearch -r -v
3 - Search the catalog
4 - Sort by title
5 - Confirm records are correct
6 - Add a 240 (before the 245) with subfield a 'AAAAA'
7 - Confirm sorting is not affected
8 - View record details, click 'Elasticsearch record: Show'
9 - Find 'title__sort' and confirm it looks correct (does not include AAAAA)

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>
2023-05-18 11:03:28 -03:00
..
searchengine/elasticsearch Bug 33594: Only sort on title main heading 2023-05-18 11:03:28 -03:00
additional-fields.pl Bug 11844: Use additional fields for order lines 2023-05-16 12:58:38 +02:00
admin-home.pl
adveditorshortcuts.pl
aqbudgetperiods.pl
aqbudgets.pl
aqcontract.pl
aqplan.pl
audio_alerts.pl
auth_subfields_structure.pl Bug 33341: Address some perlcritic errors in 5.36 2023-03-28 14:50:33 +02:00
auth_tag_structure.pl
authorised_values.pl
authtypes.pl
background_jobs.pl Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
biblio_framework.pl
branch_transfer_limits.pl
branches.pl
cash_registers.pl
categories.pl
check_budget_parent.pl
check_parent_total.pl
checkmarc.pl
cities.pl Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
classsources.pl Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
clone-rules.pl
columns_settings.pl
columns_settings.yml Bug 33586: Fix sequence of fields for memberresultst in table configuration 2023-05-09 10:58:02 -03:00
credit_types.pl Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
curbside_pickup.pl Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
currency.pl
debit_types.pl Bug 32450: Noissuescharge debit type exclusions 2023-05-17 10:25:06 -03:00
desks.pl Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
didyoumean.pl
edi_accounts.pl Bug 30649: Vendor EDI account passwords should be encrypted in the database 2023-05-15 18:23:49 -03:00
edi_ean_accounts.pl
identity_providers.pl
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 Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
localization.pl
marc-overlay-rules.pl Bug 33335: (QA follow-up) Polishing and comments 2023-05-12 17:50:09 -03:00
marc_subfields_structure.pl Bug 33341: Address some perlcritic errors in 5.36 2023-03-28 14:50:33 +02:00
marctagstructure.pl
matching-rules.pl Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
oai_set_mappings.pl
oai_sets.pl
overdrive.pl
patron-attr-types.pl Bug 32922: Remove space in shebang 2023-02-20 09:44:06 -03:00
preferences.pl
restrictions.pl
search_filters.pl
share_content.pl
smart-rules.pl
sms_providers.pl
smtp_servers.pl
sru_modmapping.pl
systempreferences.pl
transfer_limits.pl
transport-cost-matrix.pl
usage_statistics.pl
z3950servers.pl