Commit d7e99ce4 authored by Konstantin Sivakov's avatar Konstantin Sivakov
Browse files

Check for the fields attribute, fix for 2.8

parent 72b6dfdd
......@@ -73,7 +73,8 @@ class HierarchyDisplay(p.SingletonPlugin):
# the children organizations in the result list
def before_search(self, search_params):
''' If include children selected the query string is modified '''
if not hasattr('c', 'fields'):
return search_params
def _children_name_list(children):
name_list = []
Supports Markdown
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