how to have project dropdown update when link direct

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
mushu
Posts: 349
Joined: 04 Jan 2017, 17:41

how to have project dropdown update when link direct

Post by mushu »

MantisBT Version 1.3.5
PHP Version 5.6.24

I have tried to use both of these link URIs:

Code: Select all

[server]/view_all_bug_page.php?project_id=X

Code: Select all

[server]/set_project.php?ref=view_all_set.php&project_id=X
but they do not update the project selection dropdown at the top of the page and this confuses people. While both URI types do take me to the correct project, how can I get them to update the dropdown project selection at the top of the page so that it shows the current selected project?

I'm thinking this is a limitation in the code and I will have to implement some kind of funky Javascript to set it correctly but that sucks because every link will need to have that added, or else I will have to update the code in each page I will be jumping directly to. Neither option feels satisfying...

Edit: fixed typo, uploaded screenshot of dropdown item.
Attachments
mantis-jump.jpg
mantis-jump.jpg (12.64 KiB) Viewed 2577 times
Post Reply