Commit a2812a8f authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

a small performance optimisation.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23707 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d7a34783
......@@ -9,12 +9,6 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_arg</string> </key>
<value>
......@@ -135,10 +129,7 @@ WHERE\n
AND <dtml-var where_expression> \n
</dtml-if>\n
AND catalog.has_cell_content = 0\n
AND catalog.portal_type <> "Container"\n
AND catalog.portal_type <> "Container Line"\n
AND catalog.portal_type <> "Container Cell"\n
AND catalog.portal_type <> "Simulation Movement"\n
AND catalog.portal_type NOT IN ("Container", "Container Line", "Container Cell", "Simulation Movement")\n
\n
<dtml-if order_by_expression>\n
ORDER BY <dtml-var order_by_expression>\n
......@@ -198,10 +189,7 @@ WHERE\n
AND <dtml-var where_expression> \n
</dtml-if>\n
AND catalog.has_cell_content = 0\n
AND catalog.portal_type <> "Container"\n
AND catalog.portal_type <> "Container Line"\n
AND catalog.portal_type <> "Container Cell"\n
AND catalog.portal_type <> "Simulation Movement"\n
AND catalog.portal_type NOT IN ("Container", "Container Line", "Container Cell", "Simulation Movement")\n
\n
<dtml-if order_by_expression>\n
ORDER BY <dtml-var order_by_expression>\n
......
492
\ No newline at end of file
493
\ 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