Commit ed5fc7ce authored by Łukasz Nowak's avatar Łukasz Nowak

- add related key to filter objects by related resource use category

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26655 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 12bbe085
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="SQL" module="Products.ZSQLMethods.SQL"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_arg</string> </key>
<value>
<object>
<klass>
<global name="Args" module="Shared.DC.ZRDB.Aqueduct"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_data</string> </key>
<value>
<dictionary>
<item>
<key> <string>table_0</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>table_1</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>table_2</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>table_3</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>_keys</string> </key>
<value>
<list>
<string>table_0</string>
<string>table_1</string>
<string>table_2</string>
<string>table_3</string>
</list>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>arguments_src</string> </key>
<value> <string>table_0\r\n
table_1\r\n
table_2\r\n
table_3</string> </value>
</item>
<item>
<key> <string>connection_id</string> </key>
<value> <string>erp5_sql_connection</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>z_related_resource_use</string> </value>
</item>
<item>
<key> <string>src</string> </key>
<value> <string encoding="cdata"><![CDATA[
<dtml-var table_0>.uid = catalog.uid\n
AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.resource.getUid()">\n
AND <dtml-var table_0>.category_uid=<dtml-var table_2>.uid\n
AND <dtml-var table_1>.uid = <dtml-var table_2>.uid\n
AND <dtml-var table_1>.base_category_uid = <dtml-var "portal_categories.use.getUid()">\n
AND <dtml-var table_1>.category_uid = <dtml-var table_3>.uid
]]></string> </value>
</item>
<item>
<key> <string>template</string> </key>
<value>
<object>
<klass>
<global name="__newobj__" module="copy_reg"/>
</klass>
<tuple>
<global name="SQL" module="Shared.DC.ZRDB.DA"/>
</tuple>
<state>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string encoding="cdata"><![CDATA[
<string>
]]></string> </value>
</item>
<item>
<key> <string>_vars</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>globals</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>raw</string> </key>
<value> <string encoding="cdata"><![CDATA[
<dtml-var table_0>.uid = catalog.uid\n
AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.resource.getUid()">\n
AND <dtml-var table_0>.category_uid=<dtml-var table_2>.uid\n
AND <dtml-var table_1>.uid = <dtml-var table_2>.uid\n
AND <dtml-var table_1>.base_category_uid = <dtml-var "portal_categories.use.getUid()">\n
AND <dtml-var table_1>.category_uid = <dtml-var table_3>.uid
]]></string> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<key_list> <key_list>
<key>default_email_text | catalog,email/url_string/z_related_default_email</key> <key>default_email_text | catalog,email/url_string/z_related_default_email</key>
<key>destination_person_title | category,catalog/title/z_related_destination_person</key> <key>destination_person_title | category,catalog/title/z_related_destination_person</key>
<key>related_resource_use_uid | category,category,catalog,catalog/uid/z_related_resource_use</key>
<key>source_organisation_title | category,catalog/title/z_related_source_organisation</key> <key>source_organisation_title | category,catalog/title/z_related_source_organisation</key>
<key>source_person_title | category,catalog/title/z_related_source_person</key> <key>source_person_title | category,catalog/title/z_related_source_person</key>
</key_list> </key_list>
\ No newline at end of file
589 590
\ No newline at end of file
erp5_mysql_innodb/z_related_default_email erp5_mysql_innodb/z_related_default_email
erp5_mysql_innodb/z_related_destination_person erp5_mysql_innodb/z_related_destination_person
erp5_mysql_innodb/z_related_resource_use
erp5_mysql_innodb/z_related_source_organisation erp5_mysql_innodb/z_related_source_organisation
erp5_mysql_innodb/z_related_source_person erp5_mysql_innodb/z_related_source_person
\ No newline at end of file
...@@ -2,3 +2,4 @@ source_organisation_title | category,catalog/title/z_related_source_organisation ...@@ -2,3 +2,4 @@ source_organisation_title | category,catalog/title/z_related_source_organisation
source_person_title | category,catalog/title/z_related_source_person source_person_title | category,catalog/title/z_related_source_person
destination_person_title | category,catalog/title/z_related_destination_person destination_person_title | category,catalog/title/z_related_destination_person
default_email_text | catalog,email/url_string/z_related_default_email default_email_text | catalog,email/url_string/z_related_default_email
related_resource_use_uid | category,category,catalog,catalog/uid/z_related_resource_use
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment