Bug 32479 - Replace sort: ~ by sort: 0 in mappings.yaml file
Summary: Replace sort: ~ by sort: 0 in mappings.yaml file
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-15 19:12 UTC by Caroline Cyr La Rose
Modified: 2023-10-29 12:12 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caroline Cyr La Rose 2022-12-15 19:12:03 UTC
Bug 27316 removed the ability to have "Undef" as a sorting option. It is now either yes (1) or no (0).

The default mappings.yaml file still contains a lot of sort: ~, which I assume is "Undef".

I propose to change the ~ to 0 so that the mappings file is clean.
Comment 1 Katrin Fischer 2023-10-29 12:12:51 UTC
It looks like this was fixed with the first patch of:
Bug 33594 - Sorting results by Title A-Z might use wrong title field