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>
</dtml-comment>\n
\n
SELECT\n
*\n
catalog.*\n
FROM\n
(\n
SELECT\n
......@@ -143,6 +143,10 @@ kw</string> </value>
priority DESC\n
\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
GROUP BY reference\n
\n
......
1113
\ No newline at end of file
1114
\ 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