Browse Source

N°649 Stop displaying Ticket objects in a CI's ongoing tickets tab when the impact code is 'not impacted'.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4859 a333f486-631f-4898-b8df-5754b55c2be0
glajarige 7 years ago
parent
commit
57f54612eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml

+ 1 - 1
datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml

@@ -1599,7 +1599,7 @@
 					if ($sStateAttCode != '')
 					{
 					    // Todo: base the search condition on operational_status = 'ongoing' for a more flexible behavior
-						$oSearch = DBSearch::FromOQL("SELECT $sSubClass AS t JOIN $sLnkClass AS lnk ON lnk.$sExtKeyToRemote = t.id WHERE lnk.$sExtKeyToMe = :myself AND t.$sStateAttCode NOT IN ('rejected', 'resolved', 'closed')", array('myself' => $this->GetKey()));
+						$oSearch = DBSearch::FromOQL("SELECT $sSubClass AS t JOIN $sLnkClass AS lnk ON lnk.$sExtKeyToRemote = t.id WHERE lnk.$sExtKeyToMe = :myself AND t.$sStateAttCode NOT IN ('rejected', 'resolved', 'closed') AND lnk.impact_code != 'not_impacted'", array('myself' => $this->GetKey()));
 						$aSearches[$sSubClass] = $oSearch;
 
 						$oSet = new DBObjectSet($oSearch);