Add sortable index instance label column
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
@@ -102,8 +102,12 @@ class DocumentIndexingApp(MayanAppConfig):
|
||||
)
|
||||
|
||||
SourceColumn(
|
||||
attribute='label', is_identifier=True, is_sortable=True,
|
||||
source=Index
|
||||
attribute='label', exclude=(IndexInstance,), is_identifier=True,
|
||||
is_sortable=True, source=Index
|
||||
)
|
||||
SourceColumn(
|
||||
attribute='label', is_object_absolute_url=True, is_identifier=True,
|
||||
is_sortable=True, source=IndexInstance
|
||||
)
|
||||
SourceColumn(
|
||||
attribute='slug', exclude=(IndexInstance,), is_sortable=True,
|
||||
|
||||
Reference in New Issue
Block a user