Commit caced83f authored by Jean-Paul Smets's avatar Jean-Paul Smets

Fixed missing join expression which was leading to bogus SQL requests

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26901 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 17657d43
...@@ -173,6 +173,10 @@ kw</string> </value> ...@@ -173,6 +173,10 @@ kw</string> </value>
<dtml-else>\n <dtml-else>\n
AND my_versioning.language = <dtml-sqlvar language type="string">\n AND my_versioning.language = <dtml-sqlvar language type="string">\n
</dtml-if>\n </dtml-if>\n
\n
<dtml-if is_translation_order_by>\n
AND catalog.validation_state = related_translation_intermediate.original_message\n
</dtml-if>\n
\n \n
ORDER BY\n ORDER BY\n
priority DESC\n priority DESC\n
...@@ -293,6 +297,10 @@ kw</string> </value> ...@@ -293,6 +297,10 @@ kw</string> </value>
<dtml-else>\n <dtml-else>\n
AND my_versioning.language = <dtml-sqlvar language type="string">\n AND my_versioning.language = <dtml-sqlvar language type="string">\n
</dtml-if>\n </dtml-if>\n
\n
<dtml-if is_translation_order_by>\n
AND catalog.validation_state = related_translation_intermediate.original_message\n
</dtml-if>\n
\n \n
ORDER BY\n ORDER BY\n
priority DESC\n priority DESC\n
......
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