Commit dea177e6 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix a bug of condition to check if indexing is possible or not.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42152 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 42d32873
......@@ -59,7 +59,7 @@ parameter_dict = {\'uid\':[], \'SearchableText\':[]}\n
for i in context.getPortalObject().portal_catalog(path=getPath, select_expression=\'SearchableText\'):\n
for property in (\'uid\', \'SearchableText\'):\n
parameter_dict[property].append(getattr(i, property))\n
if len(parameter_dict):\n
if len(parameter_dict[\'uid\']):\n
return method(**parameter_dict)\n
return\n
\n
......
14
\ No newline at end of file
15
\ 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