Commit 4038b4da authored by Vincent Pelletier's avatar Vincent Pelletier

Revert "Allow to pass only_group_columns in kw."

This reverts commit e7e8f515.
only_group_columns doesn't belong to this API level, only to the level
immediately below.
Acked-by: Łukasz Nowak's avatarŁukasz Nowak <luke@nexedi.com>
parent ead97fdc
......@@ -2448,8 +2448,7 @@ class Catalog(Folder,
""" Returns the number of items which satisfy the where_expression """
# Get the search method
method = getattr(self, self.sql_count_results)
kw['only_group_columns'] = True
return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), **kw)
return self.queryResults(method, REQUEST=REQUEST, extra_column_list=self.getCatalogSearchResultKeys(), only_group_columns=True, **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