Commit c17be65d authored by Vincent Pelletier's avatar Vincent Pelletier

Do not use Query's asSQLExpression method.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25061 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2786c72b
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string># Wrapper for Base_zGetCountFromWorklistTable\n <value> <string># Wrapper for Base_zGetCountFromWorklistTable\n
\n \n
where_expression = query.asSQLExpression()[\'where_expression\']\n where_expression = context.getPortalObject().portal_catalog.buildSQLQuery(query=query, query_table=None)[\'where_expression\']\n
\n \n
return context.Base_zGetCountFromWorklistTable(\n return context.Base_zGetCountFromWorklistTable(\n
where_expression=where_expression,\n where_expression=where_expression,\n
...@@ -104,9 +104,10 @@ return context.Base_zGetCountFromWorklistTable(\n ...@@ -104,9 +104,10 @@ return context.Base_zGetCountFromWorklistTable(\n
<string>kw</string> <string>kw</string>
<string>_getitem_</string> <string>_getitem_</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string>
<string>None</string>
<string>where_expression</string> <string>where_expression</string>
<string>_apply_</string> <string>_apply_</string>
<string>context</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
24 25
\ 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