Commit 5598f6ee authored by Vincent Pelletier's avatar Vincent Pelletier

Add support for include_processing parameter.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25262 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e93ca42f
......@@ -11,13 +11,15 @@ class_file:
method_id
processing_node
to_date
include_processing
offset:int=0
count:int=1000
</params>
SELECT * FROM
message_queue
WHERE
processing = 0
1 = 1
<dtml-if expr="not(include_processing)"> AND processing = 0 </dtml-if>
<dtml-if expr="processing_node is not None"> AND processing_node = <dtml-sqlvar processing_node type="int"> </dtml-if>
<dtml-if path>AND path = <dtml-sqlvar path type="string"></dtml-if>
<dtml-if method_id>AND method_id = <dtml-sqlvar method_id type="string"></dtml-if>
......
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