From 1229f40816e87b1c2b60d73b89561e57e83ea6bd Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Mon, 10 Dec 2007 17:26:01 +0000
Subject: [PATCH] 2007-12-10 yusei * Update SQLCatalog_makeAdvancedSearchQuery
 for renaming external method in erp5_dms.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18214 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../SQLCatalog_makeAdvancedSearchQuery.xml             | 10 ++++------
 bt5/erp5_dms_mysql_innodb_catalog/bt/change_log        |  3 +++
 bt5/erp5_dms_mysql_innodb_catalog/bt/comment           |  0
 bt5/erp5_dms_mysql_innodb_catalog/bt/revision          |  2 +-
 .../bt/template_catalog_datetime_key_list              |  0
 .../bt/template_tool_id_list                           |  0
 6 files changed, 8 insertions(+), 7 deletions(-)
 create mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/comment
 create mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_datetime_key_list
 create mode 100644 bt5/erp5_dms_mysql_innodb_catalog/bt/template_tool_id_list

diff --git a/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeAdvancedSearchQuery.xml b/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeAdvancedSearchQuery.xml
index 750e91b93a..a2ed21b042 100644
--- a/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeAdvancedSearchQuery.xml
+++ b/bt5/erp5_dms_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeAdvancedSearchQuery.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.PythonScripts.PythonScript</string>
-          <string>PythonScript</string>
-        </tuple>
-        <none/>
+        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -88,7 +85,7 @@ if not search_string: \n
   return None\n
 \n
 # extract search arguments\n
-args = context.parseSearchString(search_string)\n
+args = context.Base_parseSearchString(search_string)\n
 \n
 # process searching by category\n
 bases = context.portal_categories.getBaseCategoryList()\n
@@ -258,6 +255,7 @@ if args.get(\'newest\'):\n
                             <string>int</string>
                             <string>ver</string>
                             <string>ValueError</string>
+                            <string>_inplacevar_</string>
                             <string>append</string>
                             <string>$append0</string>
                             <string>doc</string>
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/change_log b/bt5/erp5_dms_mysql_innodb_catalog/bt/change_log
index 2ce8df11db..841f772064 100644
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/change_log
+++ b/bt5/erp5_dms_mysql_innodb_catalog/bt/change_log
@@ -1 +1,4 @@
+2007-12-10 yusei
+* Update SQLCatalog_makeAdvancedSearchQuery for renaming external method in erp5_dms.
+
 2007-03-12 Initial version
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/comment b/bt5/erp5_dms_mysql_innodb_catalog/bt/comment
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/revision b/bt5/erp5_dms_mysql_innodb_catalog/bt/revision
index 83be903e06..8f7277e735 100644
--- a/bt5/erp5_dms_mysql_innodb_catalog/bt/revision
+++ b/bt5/erp5_dms_mysql_innodb_catalog/bt/revision
@@ -1 +1 @@
-570
\ No newline at end of file
+571
\ No newline at end of file
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_datetime_key_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_catalog_datetime_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_dms_mysql_innodb_catalog/bt/template_tool_id_list b/bt5/erp5_dms_mysql_innodb_catalog/bt/template_tool_id_list
new file mode 100644
index 0000000000..e69de29bb2
-- 
2.30.9