[Koha-bugs] [Bug 33594] New: Sorting results by Title A-Z might use wrong title field
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Apr 23 23:40:03 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33594
Bug ID: 33594
Summary: Sorting results by Title A-Z might use wrong title
field
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Searching - Elasticsearch
Assignee: koha-bugs at lists.koha-community.org
Reporter: katrin.fischer at bsz-bw.de
CC: januszop at gmail.com, nick at bywatersolutions.com
Depends on: 33206
When sorting by title we expect the sorting to use 245, but this is not always
the case. title in Elasticsearch is a broadly defined index, also containing
other title fields.
Example:
* Search for 'e' with Elasticsearch in the sample data
* Result will look something like this:
14. Agesilaos and the crisis of Sparta Paul Cartledge
15. Xenophōntos Agēsilaos. Agesilaus of Xenophon / the text revised, with
critical and explanatory notes, introduction, analyses and indices, by H.
Hailstone.
16. Alcestis / Euripides ; edited with introduction and commentary by A.M.
Dale.
So what happened here? Look at the MARC of 15. - 240 was used:
240 1 0 _a Agesilaus.
_l Greek.
_f 1879
245 1 0 _a Xenophōntos Agēsilaos. Agesilaus of Xenophon /
_c the text revised, with critical and explanatory notes, introduction,
analyses and indices, by H. Hailstone.
Maybe we need a specific index definition for sorting?
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33206
[Bug 33206] Bad title__sort made of multisubfield 245
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list