[Koha-bugs] [Bug 33594] 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
Fri May 5 14:45:41 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33594

--- Comment #10 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Janusz Kaczmarek from comment #8)
> Nick, thank you for your contribution.  Changing "sort: ~" into "sort: 1"
> makes the mappings.yaml to be more explicit and therefor less mysterious.  
> 
> But the patch does not change the way Koha with ES sorts titles, so it does
> not fix the problem.  I think, everybody would expect that when choosing
> sort order by title (both in staff and OPAC interface) the sorting will by
> done according to the main title, i.e. 245 in MARC 21 and 200 in UNIMARC. 
> 
> So, IMHO, in searchfield 'title' only 245 (for MARC 21) and 200 (for
> UNIMARC) should have 'sort: 1', and the rest of tags indexed with title --
> 'sort: 0'.
> 
> I would appreciate your feedback.

Agreed - it looks like the Elastic default on a multi-value sort field is min
(ascending) or max (descending)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list