Has anyone cutomized my_vew_inc to break out 'inprogress' items to their own section
Posted: 05 May 2022, 16:07
Using Mantis 2.19, and I have made a customization on my_view_page.php and my_view_inc.php to remove the timeline and show two columns on the screen. On the left side, I have all issues assigned to me. On the right side, I have two sections for "resolved" and "unassigned".
What I'd like to do is to show add the 'inprogress' items in their own section on the right side above the "resolved".
Positioning is not the problem. Figuring out how Mantis breaks these status elements out is the key, and I'm not a PHP expert by any means.
From looking at the code, though, I was able to add a new section, but it is untitled and is listing essentially the same thing as the "Assigned" box. It appears I need to add something to the $c_filter array and also maybe create a new filtering method, something like "filter_inprogress(...)". Of course, I'll need some kind of $c_filter['inprogress'] too, but I'm not there yet.
Am I on the right track?
What I'd like to do is to show add the 'inprogress' items in their own section on the right side above the "resolved".
Positioning is not the problem. Figuring out how Mantis breaks these status elements out is the key, and I'm not a PHP expert by any means.
From looking at the code, though, I was able to add a new section, but it is untitled and is listing essentially the same thing as the "Assigned" box. It appears I need to add something to the $c_filter array and also maybe create a new filtering method, something like "filter_inprogress(...)". Of course, I'll need some kind of $c_filter['inprogress'] too, but I'm not there yet.
Am I on the right track?