Commit eec68ec9 authored by Jérome Perrin's avatar Jérome Perrin

make deleted predicates not match

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25711 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 32256758
......@@ -53,7 +53,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>if context.getValidationState() == \'invalidated\':\n
<value> <string>if context.getValidationState() in (\'invalidated\', \'deleted\'):\n
# return a predicate that will never apply\n
return context.generatePredicate(criterion_property_list=(\'uid\',))\n
\n
......
......@@ -53,7 +53,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>if context.getValidationState() == \'invalidated\':\n
<value> <string>if context.getValidationState() in (\'invalidated\', \'deleted\'):\n
# return a predicate that will never apply\n
return context.generatePredicate(criterion_property_list=(\'uid\',))\n
\n
......
600
\ No newline at end of file
601
\ 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