[Koha-bugs] [Bug 28245] New: Language dropdown in advanced search should be sorted
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Apr 28 07:32:49 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28245
Bug ID: 28245
Summary: Language dropdown in advanced search should be sorted
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: dcook at prosentient.com.au
QA Contact: testopia at bugs.koha-community.org
The Language dropdown in the advanced search should be sorted. It should be
sorted according to the locale of the user.
For instance, sorting by iso 629-2 codes favours English. Take for example
"German". The code is "ger" and in English it's "German" but in French it's
"Allemand", and in German it's "Deutsch". The alphabetical sort should be done
to align with the expectations of the language of the user/interface.
I'm not sure what to do about non-alphabetic languages like Chinese that don't
do alphabetic sorting...
Also, this is neat https://perldoc.perl.org/Unicode::Collate::Locale. A core
module which adds support for locales. That said, sort for French is weird. The
first is normal sort() and the second is Unicode::Collate::Locale sort.
$VAR1 = [
'a',
'e',
'ç',
'é',
'ï'
];
$VAR1 = [
'a',
'ç',
'ï',
'é',
'e'
];
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list