|
@@ -482,7 +482,7 @@
|
|
<is_null_allowed>true</is_null_allowed>
|
|
<is_null_allowed>true</is_null_allowed>
|
|
</field>
|
|
</field>
|
|
<field id="location_id" xsi:type="AttributeExternalKey">
|
|
<field id="location_id" xsi:type="AttributeExternalKey">
|
|
- <filter><![CDATA[SELECT l FROM Organization AS child JOIN Organization AS root ON child.parent_id BELOW root.id JOIN Location AS l ON l.org_id=root.id WHERE child.id=:this->org_id]]></filter>
|
|
|
|
|
|
+ <filter><![CDATA[SELECT l FROM Location AS l JOIN Organization AS root ON l.org_id=root.id JOIN Organization AS child ON child.parent_id BELOW root.id WHERE child.id= :this->org_id]]></filter>
|
|
<dependencies>
|
|
<dependencies>
|
|
<attribute id="org_id"/>
|
|
<attribute id="org_id"/>
|
|
</dependencies>
|
|
</dependencies>
|
|
@@ -1657,7 +1657,7 @@
|
|
<is_null_allowed>true</is_null_allowed>
|
|
<is_null_allowed>true</is_null_allowed>
|
|
</field>
|
|
</field>
|
|
<field id="location_id" xsi:type="AttributeExternalKey">
|
|
<field id="location_id" xsi:type="AttributeExternalKey">
|
|
- <filter><![CDATA[SELECT l FROM Organization AS child JOIN Organization AS root ON child.parent_id BELOW root.id JOIN Location AS l ON l.org_id=root.id WHERE child.id= :this->org_id]]></filter>
|
|
|
|
|
|
+ <filter><![CDATA[SELECT l FROM Location AS l JOIN Organization AS root ON l.org_id=root.id JOIN Organization AS child ON child.parent_id BELOW root.id WHERE child.id= :this->org_id]]></filter>
|
|
<dependencies>
|
|
<dependencies>
|
|
<attribute id="org_id"/>
|
|
<attribute id="org_id"/>
|
|
</dependencies>
|
|
</dependencies>
|