Commit 85ab2455 authored by Romain Courteaud's avatar Romain Courteaud

Do not return hidden group, as it should not be displayed.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18311 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c7e9edb5
......@@ -206,6 +206,10 @@ for criterion in group_by_criterion:\n
for group_details in layout_form.Form_getGroupTitleAndId(): # Rule (5)\n
# Rule (2)\n
group_css_classes = group_details[\'gid\']\n
\n
# Do not display hidden group\n
if group_css_classes == \'hidden\':\n
continue\n
\n
# Criterion matching status\n
matched = False\n
......
608
\ No newline at end of file
609
\ 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