diff --git a/product/ZSQLCatalog/ZSQLCatalog.py b/product/ZSQLCatalog/ZSQLCatalog.py index d2f70e19c0b6d675dc0cca397f3c09c286619f32..c0e165111e195a2a3aa53186cf7da30cfdd0dfda 100755 --- a/product/ZSQLCatalog/ZSQLCatalog.py +++ b/product/ZSQLCatalog/ZSQLCatalog.py @@ -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'.