Page 1 of 1
Project dropdown is not sorted alphabetically
Posted: 04 Dec 2020, 15:33
by JLi
Hi,
Right now our project dropdown is sorted by id and there does not seem to be a way to change it that I can find by searching for a solution.
The goal is to sort it by name as that is more convenient. Is this achievable and preferably by not rewriting the core code?
MantisBT Version 2.24.0
Schema Version 210
PHP Version 7.0.27
Re: Project dropdown is not sorted alphabetically
Posted: 05 Dec 2020, 09:33
by cas
can you share printscreen since it should be sorted by name.
Re: Project dropdown is not sorted alphabetically
Posted: 07 Dec 2020, 07:33
by JLi
This is what it looks like.

- Screenshot 2020-12-07 083212.png (20.78 KiB) Viewed 3257 times
Re: Project dropdown is not sorted alphabetically
Posted: 07 Dec 2020, 11:25
by cas
I cannot reproduce it. Perhaps you should install latest version 2.24.2
What is the collation on the DB, UTF8-unicode-ci?
Re: Project dropdown is not sorted alphabetically
Posted: 07 Dec 2020, 12:30
by JLi
Collation seems to be utf8_general_ci.
Re: Project dropdown is not sorted alphabetically
Posted: 07 Dec 2020, 13:59
by cas
That should be fine. Again, I cannot reproduce. You can try the update.
Re: Project dropdown is not sorted alphabetically
Posted: 07 Dec 2020, 14:54
by JLi
Will do, had a look in the code and as far as I can see it looks like it should sort by name.
Re: Project dropdown is not sorted alphabetically
Posted: 11 Dec 2020, 15:44
by JLi
And the upgrade worked. Projects are now sorted alphabetically.
Re: Project dropdown is not sorted alphabetically
Posted: 11 Dec 2020, 20:32
by atrol
The issue was fixed in 2.24.1
https://www.mantisbt.org/bugs/view.php?id=26781
cas wrote: 07 Dec 2020, 11:25
Perhaps you should install latest version 2.24.2
2.24.3 is the latest version at the moment and recoomended, as some security issues (one major) are fixed in it.