File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2005,12 +2005,15 @@ public function getAggregatedStatus(): ?int {
20052005 continue ;
20062006 }
20072007 $ ticketStatus = PluginFormcreatorCommon::getTicketStatusForIssue ($ generatedTarget );
2008- if ($ ticketStatus >= PluginFormcreatorFormAnswer::STATUS_WAITING ) {
2009- // Ignore tickets refused or pending for validation
2010- // getTicketStatusForIssue() does not returns STATUS_ACCEPTED
2008+ if ($ ticketStatus > PluginFormcreatorFormAnswer::STATUS_WAITING ) {
20112009 continue ;
20122010 }
20132011
2012+ // force pending approval status to be seen from to_validate dashboard
2013+ if ($ ticketStatus == PluginFormcreatorFormAnswer::STATUS_WAITING ) {
2014+ return PluginFormcreatorFormAnswer::STATUS_WAITING ;
2015+ }
2016+
20142017 if ($ ticketStatus == CommonITILObject::WAITING ) {
20152018 $ aggregatedStatus = CommonITILObject::WAITING ;
20162019 break ;
You can’t perform that action at this time.
0 commit comments