Преглед изворни кода

#756: allow incidents and user request to be linked to 'closed' problems.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3028 a333f486-631f-4898-b8df-5754b55c2be0
dflaven пре 11 година
родитељ
комит
e5de5f75aa

+ 0 - 1
datamodels/2.x/itop-incident-mgmt-itil/datamodel.itop-incident-mgmt-itil.xml

@@ -287,7 +287,6 @@
           <target_attcode>ref</target_attcode>
         </field>
         <field id="parent_problem_id" xsi:type="AttributeExternalKey">
-          <filter><![CDATA[SELECT Problem WHERE status != "closed"]]></filter>
           <sql>parent_problem_id</sql>
           <target_class>Problem</target_class>
           <is_null_allowed>true</is_null_allowed>

+ 0 - 1
datamodels/2.x/itop-request-mgmt-itil/datamodel.itop-request-mgmt-itil.xml

@@ -353,7 +353,6 @@
           <target_attcode>ref</target_attcode>
         </field>
         <field id="parent_problem_id" xsi:type="AttributeExternalKey">
-          <filter><![CDATA[SELECT Problem WHERE status != "closed"]]></filter>
           <sql>parent_problem_id</sql>
           <target_class>Problem</target_class>
           <is_null_allowed>true</is_null_allowed>

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

@@ -343,8 +343,7 @@
           <is_null_allowed>true</is_null_allowed>
         </field>
         <field id="parent_problem_id" xsi:type="AttributeExternalKey">
-          <filter><![CDATA[SELECT Problem WHERE status != "closed"]]></filter>
-          <sql>parent_problem_id</sql>
+           <sql>parent_problem_id</sql>
           <target_class>Problem</target_class>
           <is_null_allowed>true</is_null_allowed>
           <on_target_delete>DEL_MANUAL</on_target_delete>