Commit c3793782 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

ad-hoc support of sorting by versioning.* column in WebSection_zGetDocumentValueList.

parent 08865572
...@@ -85,7 +85,7 @@ kw</string> </value> ...@@ -85,7 +85,7 @@ kw</string> </value>
</dtml-comment>\n </dtml-comment>\n
\n \n
SELECT\n SELECT\n
*\n catalog.*\n
FROM\n FROM\n
(\n (\n
SELECT\n SELECT\n
...@@ -143,6 +143,10 @@ kw</string> </value> ...@@ -143,6 +143,10 @@ kw</string> </value>
priority DESC\n priority DESC\n
\n \n
) AS catalog\n ) AS catalog\n
<dtml-if "\'versioning\' in query[\'order_by_expression\']">\n
, versioning\n
WHERE catalog.uid = versioning.uid\n
</dtml-if>\n
\n \n
GROUP BY reference\n GROUP BY reference\n
\n \n
......
1113 1114
\ 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