Commit e7e8f515 authored by Łukasz Nowak's avatar Łukasz Nowak

Allow to pass only_group_columns in kw.

Just force only_group_columns=True in kw, as caller can already use this
parameter.
parent d0d1cd5f
......@@ -2448,7 +2448,8 @@ class Catalog(Folder,
""" Returns the number of items which satisfy the where_expression """
# Get the search method
method = getattr(self, self.sql_count_results)
return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), only_group_columns=True, **kw)
kw['only_group_columns'] = True
return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
def isAdvancedSearchText(self, search_text):
return isAdvancedSearchText(search_text, self.isValidColumn)
......
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