Commit 3d646951 authored by Jérome Perrin's avatar Jérome Perrin

revert 11958 select_expression is needed for listbox (see testConfigure)



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12020 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6373252b
......@@ -144,6 +144,9 @@ selection_report</string> </value>
SELECT\n
COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n
<dtml-if select_expression>\n
, <dtml-var select_expression>\n
</dtml-if>\n
FROM\n
<dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n
<dtml-if selection_domain>\n
......@@ -219,6 +222,9 @@ GROUP BY\n
SELECT\n
COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n
<dtml-if select_expression>\n
, <dtml-var select_expression>\n
</dtml-if>\n
FROM\n
<dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n
<dtml-if selection_domain>\n
......
12
\ No newline at end of file
13
\ No newline at end of file
......@@ -136,6 +136,9 @@ selection_report</string> </value>
SELECT\n
COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n
<dtml-if select_expression>\n
, <dtml-var select_expression>\n
</dtml-if>\n
FROM\n
<dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n
<dtml-if selection_domain>\n
......@@ -207,6 +210,9 @@ ORDER BY\n
SELECT\n
COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n
<dtml-if select_expression>\n
, <dtml-var select_expression>\n
</dtml-if>\n
FROM\n
<dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n
<dtml-if selection_domain>\n
......
26
\ No newline at end of file
27
\ 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