Commit 976ebe96 authored by Yusei Tahara's avatar Yusei Tahara

Revert my previous change for the unittest. But the problem which returns a...

Revert my previous change for the unittest. But the problem which returns a document of  indeterminate version still remains, need to refactoring around later.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18484 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7874e399
...@@ -123,6 +123,8 @@ if not kw.has_key(\'validation_state\'):\n ...@@ -123,6 +123,8 @@ if not kw.has_key(\'validation_state\'):\n
\'released\', \'published\', \'restricted\']\n \'released\', \'published\', \'restricted\']\n
if not kw.has_key(\'sort_on\'):\n if not kw.has_key(\'sort_on\'):\n
kw[\'sort_on\'] = [(\'int_index\', \'descending\')]\n kw[\'sort_on\'] = [(\'int_index\', \'descending\')]\n
if not kw.has_key(\'group_by\'):\n
kw[\'group_by\'] = (\'reference\',)\n
\n \n
# Return the list of matching documents for the given states\n # Return the list of matching documents for the given states\n
return current_section.searchResults(**kw)\n return current_section.searchResults(**kw)\n
......
611 612
\ No newline at end of file \ No newline at end of file
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