Commit 050cf337 authored by Jean-Paul Smets's avatar Jean-Paul Smets

similar but validated on Coramy unit test


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@991 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1d5c816e
<dtml-comment> <dtml-comment>
title:Search Category title:Search Category
connection_id:erp5_sql_connection connection_id:erp5_sql_connection
max_rows:1000 max_rows:10000
max_cache:100 max_cache:100
cache_time:0 cache_time:0
class_name:ZSQLBrain class_name:ZSQLBrain
class_file:zsqlbrain.py class_file:zsqlbrain.py
</dtml-comment> </dtml-comment>
<params>category_uid</params> <params>category_uid</params>
SELECT DISTINCT SELECT DISTINCT
catalog.uid, catalog.path catalog.uid, catalog.path
FROM FROM
catalog, category catalog, category
WHERE WHERE
catalog.uid = category.uid catalog.uid = category.uid
AND category.category_uid = <dtml-sqlvar category_uid type="int"> AND category.category_uid = <dtml-sqlvar category_uid type="int">
\ No newline at end of file \ 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