osticket Sorting departments

Her kan du få hjælp og stille spørgsmål til PHP!
Besvar
habi222
Begynder
Indlæg:6
Tilmeldt:6. aug 2012, 17:00
osticket Sorting departments

Indlæg af habi222 » 8. sep 2012, 12:45

Hello
im really happy for the osticket and it is very usefull.

Ive translated my osticket to danish and the problem is when im trying to create a new ticket, then in the "Category" dept drop down box ive also translated that and added more categories.

As everybody knows the alpabet is from A-Z and thats the thing i want to change
beacuse my categories are

Andet (Other)
Anmeldelse (Report)

and some others that is with the letter F-H-S

the problem i got is that i want to move Andet (other) to the bottom and not to the top, and it is beacuse of its alphabetic sorting...

ive tryed to look around the php files and try edit something but it wont help at all.


Hope you can help me with my issue!
:)

Brugeravatar
ThomasI
Grundlægger
Grundlægger
Indlæg:1528
Tilmeldt:28. dec 2010, 10:49

Re: osticket Sorting departments

Indlæg af ThomasI » 8. sep 2012, 16:05

Unfortunatly i have no experience with osticket, so i cant really help you...

Brugeravatar
ThomasI
Grundlægger
Grundlægger
Indlæg:1528
Tilmeldt:28. dec 2010, 10:49

Re: osticket Sorting departments

Indlæg af ThomasI » 8. sep 2012, 16:08

actually, you could ad a number to the list items and echo the list using assending or decending... that way you can control which items that will be displayed first

habi222
Begynder
Indlæg:6
Tilmeldt:6. aug 2012, 17:00

Re: osticket Sorting departments

Indlæg af habi222 » 8. sep 2012, 18:50

Hej

jeg har prøvet masser af ting og inde i databasen har hvert kategori en id men det vil alligevel vælger efter alfabetisk rækkefølkge

der er mange filer + .inc filer
har kigget mange igennem men det hjalp ikke.

Du kan prøve at kigge på det:

http://www.team-disorder.dk/support/disorder/open.php?

Brugeravatar
ThomasI
Grundlægger
Grundlægger
Indlæg:1528
Tilmeldt:28. dec 2010, 10:49

Re: osticket Sorting departments

Indlæg af ThomasI » 10. sep 2012, 15:43

Der må være et sted i koden til den formular hvor der står noget ligende "alfabetic order" i koden...prøv at søgeefter det i dine filer...så kan du ændre det når du har fundet det...

Besvar