diff --git a/mayan/apps/document_indexing/views.py b/mayan/apps/document_indexing/views.py index 7222ffa881..3a999db428 100644 --- a/mayan/apps/document_indexing/views.py +++ b/mayan/apps/document_indexing/views.py @@ -344,7 +344,7 @@ def index_instance_node_view(request, index_instance_node_pk): return render_to_response('main/generic_list.html', { 'object_list': index_instance_list, - 'extra_columns_preffixed': [ + 'extra_columns': [ { 'name': _('Node'), 'attribute': encapsulate(lambda x: index_instance_item_link(x)) diff --git a/mayan/apps/main/templates/main/generic_list_subtemplate.html b/mayan/apps/main/templates/main/generic_list_subtemplate.html index 85a5708b9c..0c8d4745bb 100644 --- a/mayan/apps/main/templates/main/generic_list_subtemplate.html +++ b/mayan/apps/main/templates/main/generic_list_subtemplate.html @@ -58,10 +58,6 @@ {% trans 'Identifier' %} {% endif %} - {% for column in extra_columns_preffixed %} - {{ column.name }} - {% endfor %} - {% for column in object_list.0|get_model_list_columns %} {{ column.name }} {% endfor %} @@ -96,16 +92,7 @@ {% if not hide_link %}{{ object }}{% else %}{{ object }}{% endif %} {% endif %} {% endif %} - {% for column in extra_columns_preffixed %} - {% if column.keep_together %} - - {{ object|object_property:column.attribute|make_non_breakable }} - - {% else %} - {{ object|object_property:column.attribute }} - {% endif %} - {% endfor %} - {% if not hide_columns %} + {% if not hide_columns %} {% for column in object|get_model_list_columns %} {{ object|object_property:column.attribute }} {% endfor %}