[Koha-bugs] [Bug 14912] Sort Advanced Search Languages by priority

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 15 12:20:48 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14912

--- Comment #12 from Marc Véron <veron at veron.ch> ---
(In reply to Josef Moravec from comment #10)
> Marc, I tried some combinations, including the one you wrote about, but I
> have no problems with sorting. Is it possible that something else comes into
> effect?

Josef,

The problem is that sorting happens with iso639-2. 
(Lanugages.pm after line 255)

See: https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes

For German (Deutsch), the code can be ger *or* deu. With ger it would be sorted
as g and not as d (Deutsch). There are more languages where the code can be
ambivalent, e.g. dutch, and it is not guaranteed that it is alphabetically on
the same place as the native name.

Maye the usage of ambivalent codes depends in Koha on what language was used
during installation, that could explain that it works for you and not for me.

In my opinion, the sorting should happen with the native description anyway,
not with the iso 639-2 code.

BTW, the native description already exists Lanugages.pm (see around line 240).

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


More information about the Koha-bugs mailing list