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?
Display and view bug for disabled project
Moderators: Developer, Contributor
Display and view bug for disabled project
- Attachments
-
- Active project listing.zip
- (156.19 KiB) Downloaded 449 times
Re: Display and view bug for disabled project
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.
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.