diff --git a/mayan/apps/common/templatetags/attribute_tags.py b/mayan/apps/common/templatetags/attribute_tags.py index cf3fe7ccc8..2cd00fe82b 100644 --- a/mayan/apps/common/templatetags/attribute_tags.py +++ b/mayan/apps/common/templatetags/attribute_tags.py @@ -24,6 +24,9 @@ def get_model_list_columns(obj): except TypeError: # It is not pass + except IndexError: + # It a list and it's empty + pass for key, value in model_list_columns.items(): if key == obj or isinstance(obj, key):