Kissaki / MumPI

A Webinterface for Mumble Server. Written in PHP, using Ice middleware.
http://kissaki.github.io/MumPI/
Other
105 stars 30 forks source link

Fixed Channel Viewer ordering for channels with capital letters #54

Closed nicolasjoly closed 8 years ago

nicolasjoly commented 8 years ago

This should fix #52

Kissaki commented 8 years ago

If we do not want natural order, it may be easier to use strcmp.

nicolasjoly commented 8 years ago

This fix puts the natural order by making all letters in lowercase, making sure that the case of the letter doesn't interfere with the sorting. This makes the sorting exactly the same as Mumble.

Kissaki commented 8 years ago

This will not guarantee testa being placed before testA.

nicolasjoly commented 8 years ago

Ok I see what you mean.

Kissaki commented 8 years ago

I started on something that is also unicode aware (mb_ and stuff) for non-ASCII/international characters.

Kissaki commented 8 years ago

Closed in favour of b9c986ada1cc91287cbd3e6662ab77ef0614898d