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 ...@@ -72,8 +72,8 @@ def getByRecurse(obj,rv=[]):\n
def getFromCatalog(start_path):\n def getFromCatalog(start_path):\n
return [x.getObject() for x in context.portal_catalog(\n return [x.getObject() for x in context.portal_catalog(\n
portal_type=(\'Applied Rule\',\'Simulation Movement\',),\n portal_type=(\'Applied Rule\',\'Simulation Movement\',),\n
path=start_path+\'%%\',\n path=[start_path, start_path+\'/%\'],\n
sort_on=((\'path\',\'ascending\',\'string\'),)\n sort_on=((\'path\',\'ascending\',\'char\'),)\n
)]\n )]\n
\n \n
if start_path is None:\n if start_path is None:\n
......
603 604
\ No newline at end of file \ 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