Commit c3270f38 authored by Jérome Perrin's avatar Jérome Perrin

iterate in group in bottom up order, the first parent organisation is the correct one

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34126 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c00dac75
......@@ -80,8 +80,6 @@ while group.getPortalType() != \'Base Category\':\n
group_chain.append(group)\n
group = group.getParentValue()\n
\n
group_chain.reverse()\n
\n
for group in group_chain:\n
organisation = getOrganisationForSectionCategory(group)\n
if organisation is not None and (\n
......
1150
\ No newline at end of file
1151
\ 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