Commit b2a0e9eb authored by Jean-Paul Smets's avatar Jean-Paul Smets

SQL connect is now erp5_sql


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@418 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bfd011cd
<dtml-comment> <dtml-comment>
title:Search Category title:Search Category
connection_id:MySQL connection_id:erp5_sql_connection
max_rows:1000 max_rows:1000
max_cache:100 max_cache:100
cache_time:0 cache_time:0
......
<dtml-comment> <dtml-comment>
title:Search Category title:Search Category
connection_id:MySQL connection_id:erp5_sql_connection
max_rows:1000 max_rows:1000
max_cache:100 max_cache:100
cache_time:0 cache_time:0
......
<dtml-comment> <dtml-comment>
title:Search Category title:Search Category
connection_id:MySQL connection_id:erp5_sql_connection
max_rows:1000 max_rows:1000
max_cache:100 max_cache:100
cache_time:0 cache_time:0
...@@ -9,16 +9,6 @@ class_file:zsqlbrain.py ...@@ -9,16 +9,6 @@ class_file:zsqlbrain.py
</dtml-comment> </dtml-comment>
<params>category_list <params>category_list
portal_type</params> 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> <dtml-if portal_type>
SELECT DISTINCT catalog.uid, catalog.path, catalog.relative_url, portal_type SELECT DISTINCT catalog.uid, catalog.path, catalog.relative_url, portal_type
FROM catalog, category FROM catalog, category
......
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