From b2a0e9ebaa7db23d378f1d3709d1a10ca0a51f50 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Sun, 8 Feb 2004 17:32:22 +0000
Subject: [PATCH] SQL connect is now erp5_sql

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@418 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/skins/erp5_core/search_category.zsql |  2 +-
 product/ERP5/skins/erp5_core/search_related.zsql  |  2 +-
 product/ERP5/skins/erp5_crm/search_category.zsql  | 14 ++------------
 3 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/product/ERP5/skins/erp5_core/search_category.zsql b/product/ERP5/skins/erp5_core/search_category.zsql
index 6586e41be0..b77eb42f51 100755
--- a/product/ERP5/skins/erp5_core/search_category.zsql
+++ b/product/ERP5/skins/erp5_core/search_category.zsql
@@ -1,6 +1,6 @@
 <dtml-comment>
 title:Search Category
-connection_id:MySQL
+connection_id:erp5_sql_connection
 max_rows:1000
 max_cache:100
 cache_time:0
diff --git a/product/ERP5/skins/erp5_core/search_related.zsql b/product/ERP5/skins/erp5_core/search_related.zsql
index 282814599a..db63db6dbb 100755
--- a/product/ERP5/skins/erp5_core/search_related.zsql
+++ b/product/ERP5/skins/erp5_core/search_related.zsql
@@ -1,6 +1,6 @@
 <dtml-comment>
 title:Search Category
-connection_id:MySQL
+connection_id:erp5_sql_connection
 max_rows:1000
 max_cache:100
 cache_time:0
diff --git a/product/ERP5/skins/erp5_crm/search_category.zsql b/product/ERP5/skins/erp5_crm/search_category.zsql
index ab76170b65..7487e1eea9 100755
--- a/product/ERP5/skins/erp5_crm/search_category.zsql
+++ b/product/ERP5/skins/erp5_crm/search_category.zsql
@@ -1,24 +1,14 @@
 <dtml-comment>
 title:Search Category
-connection_id:MySQL
+connection_id:erp5_sql_connection
 max_rows:1000
 max_cache:100
 cache_time:0
 class_name:ZSQLBrain
-class_file:zsqlbrain.py	
+class_file:zsqlbrain.py
 </dtml-comment>
 <params>category_list
 portal_type</params>
-<dtml-comment>
-title:Search Category
-connection_id:MySQL
-max_rows:1000
-max_cache:100
-cache_time:0
-class_name:ZSQLBrain
-class_file:zsqlbrain.py
-</dtml-comment>
-
 <dtml-if portal_type>
 SELECT DISTINCT catalog.uid, catalog.path, catalog.relative_url, portal_type
 FROM catalog, category
-- 
2.30.9