diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_children_reference.catalog_keys.xml b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_children_reference.catalog_keys.xml new file mode 100644 index 0000000000000000000000000000000000000000..a540f9431e9c394244ed71562b197938e6fe9258 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_children_reference.catalog_keys.xml @@ -0,0 +1,2 @@ +<catalog_method> +</catalog_method> diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_children_reference.xml b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_children_reference.xml new file mode 100644 index 0000000000000000000000000000000000000000..a4d6063ac7bca20332cf4ba22852ba187942fdaf --- /dev/null +++ b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_children_reference.xml @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\r\n +</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_children_reference</string> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-comment>\n +table_0 : catalog as children\n +</dtml-comment>\n +<dtml-var table_0>.parent_uid = catalog.uid\n + + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogRelatedKeyTemplateItem/related_key_list.xml b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogRelatedKeyTemplateItem/related_key_list.xml index 1f4cd72bbc982a811e12472c676ba2c5124b74a0..c41d9c460a17f873f7cb106d0a8c3dcd9754ba5f 100644 --- a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogRelatedKeyTemplateItem/related_key_list.xml +++ b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogRelatedKeyTemplateItem/related_key_list.xml @@ -2,6 +2,7 @@ <key>base_category_id | category,catalog/id/z_related_base_category_id</key> <key>career_skill_id | category,catalog,catalog/id/z_related_career_skill</key> <key>career_skill_title | category,catalog,catalog/title/z_related_career_skill</key> + <key>children_reference | catalog/reference/z_related_children_reference</key> <key>deliveryLineType | movement,catalog/portal_type/z_related_uid_or_parent_uid</key> <key>explanation_portal_type | movement,catalog/portal_type/z_related_explanation</key> <key>explanation_simulation_state | movement,catalog/simulation_state/z_related_explanation</key> diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/change_log b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/change_log index a4d34b748811733519e100b2085a47d1dee00d3f..7474eacc5a7480c7a584cf02bb4f41ac537a97a9 100644 --- a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/change_log +++ b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/change_log @@ -1,8 +1,5 @@ -2011-01-31 Ivan -* Remove default MyISAM full text search which is to be provided by a separate business template - -2011-01-28 Ivan -* Add site configurable 'full_text' scriptable key +2011-02-04 Nicolas +* add children_reference related column 2010-11-08 Kazuhiko * support cataloging multiple subjects. diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision index c5a644422fb8f683632c43a9973c6f9bf3d5a12e..02cfe0b571289e50a0fd82273cd7ef43b7d09185 100644 --- a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision +++ b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision @@ -1 +1 @@ -221 \ No newline at end of file +213 \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_method_id_list b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_method_id_list index decb948e37f81329054b03fc6321684e40675727..580a8c538ea8ee2bfd772d74ddeee842e78d3357 100644 --- a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_method_id_list +++ b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_method_id_list @@ -87,6 +87,7 @@ erp5_mysql_innodb/z_read_recorded_object_list erp5_mysql_innodb/z_record_object_list erp5_mysql_innodb/z_related_base_category_id erp5_mysql_innodb/z_related_career_skill +erp5_mysql_innodb/z_related_children_reference erp5_mysql_innodb/z_related_explanation erp5_mysql_innodb/z_related_function_uid_from_stock erp5_mysql_innodb/z_related_grand_grand_grand_grand_grand_parent diff --git a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_related_key_list b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_related_key_list index 1015d1e488189f070d4fc782d5a6e6e386a15cd0..c1c7310fb025c7d023d0365ad72466ce7ec53ce7 100644 --- a/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_related_key_list +++ b/product/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/template_catalog_related_key_list @@ -58,4 +58,5 @@ predicate_category_category_uid | predicate_category/category_uid/z_related_pred grand_parent_delivery_portal_type | category,catalog,catalog/portal_type/z_related_grand_parent_delivery grand_grand_grand_parent_delivery_portal_type | category,catalog,catalog,catalog,catalog/portal_type/z_related_grand_grand_grand_parent_delivery grand_grand_grand_grand_parent_specialise_portal_type | category,catalog,catalog,catalog,catalog,catalog/portal_type/z_related_grand_grand_grand_grand_parent_specialise -grand_grand_grand_grand_parent_specialise_reference | category,catalog,catalog,catalog,catalog,catalog/reference/z_related_grand_grand_grand_grand_parent_specialise \ No newline at end of file +grand_grand_grand_grand_parent_specialise_reference | category,catalog,catalog,catalog,catalog,catalog/reference/z_related_grand_grand_grand_grand_parent_specialise +children_reference | catalog/reference/z_related_children_reference \ No newline at end of file