Display and view bug for disabled project

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
sintaq
Posts: 81
Joined: 12 Oct 2017, 11:38

Display and view bug for disabled project

Post by sintaq »

i have a use case that sometimes i need to refer bugs reported for disabled projects. i manage to custom layout_api.

but set_project.php seems doesnt allow me to view disabled project and it defaulted to ALL PROJECTS instead. any idea?
Attachments
Active project listing.zip
(156.19 KiB) Downloaded 449 times
sintaq
Posts: 81
Joined: 12 Oct 2017, 11:38

Re: Display and view bug for disabled project

Post by sintaq »

managed to get what am aiming for by modifying function layout_navbar_projects_list in layout_api.php and set_projet.php. not a plugin standard

basic flow:
1) display active and deactivated radio button in the project listing
2) when active button selected, display all active projects. while when deactivated selected, display all deactivated/disabled projects.
3) search box still functioning as usual for both active or deactivated projects to sort/filter project based on the input
4) when one of the deactivated project selected, will temporary activate/enable the project to let it go through to view all bugs reported etc.
5) once new project selected, will disable/deactivate back the project.
Post Reply