Sorting by swedish alphabet?

Moderator: crythias

Locked
vkandersv
Znuny newbie
Posts: 36
Joined: 07 Mar 2011, 18:32
Znuny Version: 3.0.6

Sorting by swedish alphabet?

Post by vkandersv »

Hi,

I cant really figure out this,

We have a couple of tickettypes that we have renamed to swedish so that our users will be happy;

Incident
Incident::Katastrof
Problem
Ändring
Ändring::Avbruten
Ändringsbegäran


My problem is that OTRS show this like

Ändring
Ändring::Avbruten
Ändringsbegäran
Incident
Problem

ie it puts Ä in same collation position as A, how can i change this?
--
ORTS 3.0.6, Linux, MySQL, ActiveDirectory integration for Customer.
vkandersv
Znuny newbie
Posts: 36
Joined: 07 Mar 2011, 18:32
Znuny Version: 3.0.6

Re: Sorting by swedish alphabet?

Post by vkandersv »

ive got this problem in the iPhone also
--
ORTS 3.0.6, Linux, MySQL, ActiveDirectory integration for Customer.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Sorting by swedish alphabet?

Post by jojo »

you can not change this...
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
vkandersv
Znuny newbie
Posts: 36
Joined: 07 Mar 2011, 18:32
Znuny Version: 3.0.6

Re: Sorting by swedish alphabet?

Post by vkandersv »

Because?

Ive got the soruce for everything except the iphone app so of course i can change this. just woundering if someone else have tried before.
--
ORTS 3.0.6, Linux, MySQL, ActiveDirectory integration for Customer.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Sorting by swedish alphabet?

Post by jojo »

changing code will prevent you from easy updating
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
vkandersv
Znuny newbie
Posts: 36
Joined: 07 Mar 2011, 18:32
Znuny Version: 3.0.6

Re: Sorting by swedish alphabet?

Post by vkandersv »

yes of course.
--
ORTS 3.0.6, Linux, MySQL, ActiveDirectory integration for Customer.
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: Sorting by swedish alphabet?

Post by ferrosti »

I do not have the time to get deeper into this, so I just give a hint:
You could set mySQLs collation to your needs. In case these values are sorted due to 'ORDER BY' instead of 'sort()' in perl you will get what you want.
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
Locked