Commit 73165b92 authored by Sebastien Robin's avatar Sebastien Robin

- remove the limit to 1000, it is provided by default by ERP5Catalog, so this...

- remove the limit to 1000, it is provided by default by ERP5Catalog, so this make the limit=None parameter working fine.
- also finish to commit change of jp about reversing the order between group by and order by

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12633 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2e33a898
...@@ -104,16 +104,16 @@ ...@@ -104,16 +104,16 @@
<key> <string>_keys</string> </key> <key> <string>_keys</string> </key>
<value> <value>
<list> <list>
<string>selection</string> <string>selection</string>
<string>selection_domain</string> <string>selection_domain</string>
<string>selection_report</string> <string>selection_report</string>
<string>where_expression</string> <string>where_expression</string>
<string>select_expression</string> <string>select_expression</string>
<string>group_by_expression</string> <string>group_by_expression</string>
<string>from_table_list</string> <string>from_table_list</string>
<string>sort_on</string> <string>sort_on</string>
<string>limit_expression</string> <string>limit_expression</string>
<string>search_mode</string> <string>search_mode</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -130,15 +130,15 @@ ...@@ -130,15 +130,15 @@
</item> </item>
<item> <item>
<key> <string>arguments_src</string> </key> <key> <string>arguments_src</string> </key>
<value> <string>selection\n <value> <string>selection\r\n
selection_domain\n selection_domain\r\n
selection_report\n selection_report\r\n
where_expression\n where_expression\r\n
select_expression\n select_expression\r\n
group_by_expression\n group_by_expression\r\n
from_table_list:list\n from_table_list:list\r\n
sort_on\n sort_on\r\n
limit_expression\n limit_expression\r\n
search_mode</string> </value> search_mode</string> </value>
</item> </item>
<item> <item>
...@@ -211,18 +211,16 @@ WHERE \n ...@@ -211,18 +211,16 @@ WHERE \n
<dtml-if expression> AND <dtml-var expression> </dtml-if>\n <dtml-if expression> AND <dtml-var expression> </dtml-if>\n
</dtml-let>\n </dtml-let>\n
</dtml-if>\n </dtml-if>\n
<dtml-if sort_on>\n
ORDER BY\n
<dtml-var sort_on>\n
</dtml-if>\n
<dtml-if group_by_expression>\n <dtml-if group_by_expression>\n
GROUP BY\n GROUP BY\n
<dtml-var group_by_expression>\n <dtml-var group_by_expression>\n
</dtml-if>\n </dtml-if>\n
<dtml-if sort_on>\n
ORDER BY\n
<dtml-var sort_on>\n
</dtml-if>\n
<dtml-if limit_expression>\n <dtml-if limit_expression>\n
LIMIT <dtml-var "limit_expression">\n LIMIT <dtml-var "limit_expression">\n
<dtml-else>\n
LIMIT 1000\n
</dtml-if>\n </dtml-if>\n
...@@ -304,8 +302,6 @@ ORDER BY\n ...@@ -304,8 +302,6 @@ ORDER BY\n
</dtml-if>\n </dtml-if>\n
<dtml-if limit_expression>\n <dtml-if limit_expression>\n
LIMIT <dtml-var "limit_expression">\n LIMIT <dtml-var "limit_expression">\n
<dtml-else>\n
LIMIT 1000\n
</dtml-if>\n </dtml-if>\n
......
28 29
\ 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