Project dropdown is not sorted alphabetically

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
JLi
Posts: 9
Joined: 26 Jun 2018, 12:12

Project dropdown is not sorted alphabetically

Post 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
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Project dropdown is not sorted alphabetically

Post by cas »

can you share printscreen since it should be sorted by name.
JLi
Posts: 9
Joined: 26 Jun 2018, 12:12

Re: Project dropdown is not sorted alphabetically

Post by JLi »

This is what it looks like.
Screenshot 2020-12-07 083212.png
Screenshot 2020-12-07 083212.png (20.78 KiB) Viewed 2688 times
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Project dropdown is not sorted alphabetically

Post 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?
JLi
Posts: 9
Joined: 26 Jun 2018, 12:12

Re: Project dropdown is not sorted alphabetically

Post by JLi »

Collation seems to be utf8_general_ci.
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Project dropdown is not sorted alphabetically

Post by cas »

That should be fine. Again, I cannot reproduce. You can try the update.
JLi
Posts: 9
Joined: 26 Jun 2018, 12:12

Re: Project dropdown is not sorted alphabetically

Post 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.
JLi
Posts: 9
Joined: 26 Jun 2018, 12:12

Re: Project dropdown is not sorted alphabetically

Post by JLi »

And the upgrade worked. Projects are now sorted alphabetically.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Project dropdown is not sorted alphabetically

Post 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.
Please use Search before posting and read the Manual
Post Reply