Hi everyone,
I would like to sort projects on dropdown menu by ID or preference choice instead alphabetically like now..
Do you know how can I apply this?
Many thanks,
Sara
Sort Projects on Dropdown Menu
Moderators: Developer, Contributor
Re: Sort Projects on Dropdown Menu
AFAIK this is not available out of the box. It would mean you would need to adjust a core script (function user_get_accessible_projects within core\user_api.php). This is not the best option but it can be done.
-
- Posts: 9
- Joined: 01 Feb 2023, 11:01
Re: Sort Projects on Dropdown Menu
Is there any wait to do this with a plugin?
And on core\user_api.php... will this change impact any other mantis field? what do you think? thank you very much for your help
Re: Sort Projects on Dropdown Menu
Not sure it that would impact other areas, couls very well be (that is why one should not change core scripts). Aplugion will not do the trick here.
What you can do, is to adjust the name of the project (fe ppreceding the text with the id) to achieve what you want
What you can do, is to adjust the name of the project (fe ppreceding the text with the id) to achieve what you want