Commit dbb7386d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix a mistake in path argument and sort_on argument.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37374 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fcd92a76
......@@ -72,8 +72,8 @@ def getByRecurse(obj,rv=[]):\n
def getFromCatalog(start_path):\n
return [x.getObject() for x in context.portal_catalog(\n
portal_type=(\'Applied Rule\',\'Simulation Movement\',),\n
path=start_path+\'%%\',\n
sort_on=((\'path\',\'ascending\',\'string\'),)\n
path=[start_path, start_path+\'/%\'],\n
sort_on=((\'path\',\'ascending\',\'char\'),)\n
)]\n
\n
if start_path is None:\n
......
603
\ No newline at end of file
604
\ 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