Commit 2ee00eed authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Kazuhiko Shiozaki

z0_uncatalog_email: Drop filter expression

Unindexation happens in a transation after the corresponding document was
deleted. So there is no context available to check the type of the deleted
document. So these filter expressions are meaningless.
parent 40e706cd
...@@ -16,19 +16,19 @@ ...@@ -16,19 +16,19 @@
</item> </item>
<item> <item>
<key> <string>expression</string> </key> <key> <string>expression</string> </key>
<value> <string>python: context.getPortalType() in (\'Email\', \'Fax\', \'Telephone\',)</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>expression_cache_key</string> </key> <key> <string>expression_cache_key</string> </key>
<value> <value>
<tuple> <tuple/>
<string>portal_type</string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
<key> <string>filtered</string> </key> <key> <string>filtered</string> </key>
<value> <int>1</int> </value> <value> <int>0</int> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
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