https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29946 --- Comment #4 from Lucas Gass <lucas@bywatersolutions.com> --- (In reply to Katrin Fischer from comment #3)
I am sorry, but while this works for A-z and therefor for English, it doesn't work for other languages like German with Umlauts or French with accents/diacritics. If you enter for example a description starting with Á, it will sort at the end, instead of as A.
I think we need to use a sort that accounts for that and that we already have that in Koha - using cmp instead of >?
Since we fetch this profiles from /api/v1/import_batch_profiles I think we need a way to sort these, with accents/diacritics, in JavaScript instead of Perl. I think localeCompare might be the answer: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Obj... -- You are receiving this mail because: You are watching all bug changes.