Commit e6fb36c6 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Made 'catalog' the default table for 'query_table' in buildSQLQuery.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1444 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6f0e9235
......@@ -570,7 +570,7 @@ class ZCatalog(Folder, Persistent, Implicit):
return self._catalog.getColumnIds()
security.declarePublic('buildSQLQuery')
def buildSQLQuery(self, REQUEST=None, query_table=None, **kw):
def buildSQLQuery(self, REQUEST=None, query_table='catalog', **kw):
"""
Build a SQL query from keywords.
If query_table is specified, it is used as the table name instead of 'catalog'.
......
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