Commit 292c6f90 authored by Sebastien Robin's avatar Sebastien Robin

already in skins/erp5


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@479 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 584a2cfb
<dtml-comment>
title:Search Category
connection_id:erp5_sql_connection
max_rows:1000
max_cache:100
cache_time:0
class_name:ZSQLBrain
class_file:zsqlbrain.py
</dtml-comment>
<params>category_list
portal_type</params>
<dtml-if portal_type>
SELECT DISTINCT catalog.uid, catalog.path, catalog.relative_url, portal_type
FROM catalog, category
WHERE (<dtml-in portal_type><dtml-unless sequence-start> OR </dtml-unless>catalog.portal_type='<dtml-var sequence-item>'</dtml-in>)
AND catalog.uid = category.uid
AND (<dtml-var "portal_categories.buildSQLSelector(category_list)">)
<dtml-else>
SELECT DISTINCT catalog.uid, catalog.path, portal_type
FROM catalog, category
WHERE catalog.uid = category.uid
AND (<dtml-var "portal_categories.buildSQLSelector(category_list)">)
</dtml-if>
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