Fix document template column field.

GitLab issue #655. Thanks to Christian Wiegand (@christianwgd) for the
report.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-08-22 00:27:51 -04:00
parent cb14224fde
commit 3a0226ac22
3 changed files with 9 additions and 2 deletions

View File

@@ -11,6 +11,9 @@
Fixes workflow API creation view.
* Fix document cabinet list API view. Thanks for forum user
"jere" for the report. Forum topic 1039.
* Fix document template column field. GitLab issue #655.
Thanks to Christian Wiegand (@christianwgd) for the
report.
3.2.6 (2019-07-10)
==================

View File

@@ -18,6 +18,9 @@ Changes
Fixes workflow API creation view.
- Fix document cabinet list API view. Thanks for forum user
"jere" for the report. Forum topic 1039.
- Fix document template column field. GitLab issue #655.
Thanks to Christian Wiegand (@christianwgd) for the
report.
Removals
--------
@@ -111,6 +114,7 @@ Bugs fixed or issues closed
---------------------------
- :gitlab-issue:`654` Internal Server Error, Document Checkout
- :gitlab-issue:`655` Index setup tree view shows two times the "enabled" field instead of "Link documents"
- :forum-topic:`1039` Re: /api/documents/{id}/cabinets returns 500
.. _PyPI: https://pypi.python.org/pypi/mayan-edms/

View File

@@ -135,8 +135,8 @@ class DocumentIndexingApp(MayanAppConfig):
widget=TwoStateWidget
)
SourceColumn(
attribute='enabled', is_sortable=True, source=IndexTemplateNode,
widget=TwoStateWidget
attribute='link_documents', is_sortable=True,
source=IndexTemplateNode, widget=TwoStateWidget
)
SourceColumn(
func=lambda context: index_instance_item_link(context['object']),