From 0b044f1e21c7d76ffe017225dba2421c2d83cdd8 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 3 Jun 2019 20:31:51 -0400 Subject: [PATCH] Invert Action Object and Target columns Signed-off-by: Roberto Rosario --- HISTORY.rst | 2 ++ mayan/apps/events/apps.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 3b8d8edaa4..b61f4cb35e 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -273,6 +273,8 @@ files. * Place deletion policies units before periods for clarity. * Remove repeated EMAIL_TIMEOUT setting. +* Invert order to the Action Object and Target columns for + clarity. 3.1.11 (2019-04-XX) =================== diff --git a/mayan/apps/events/apps.py b/mayan/apps/events/apps.py index 711f81778a..164f301131 100644 --- a/mayan/apps/events/apps.py +++ b/mayan/apps/events/apps.py @@ -48,11 +48,11 @@ class EventsApp(MayanAppConfig): func=widget_event_type_link, label=_('Event'), source=Action ) SourceColumn( - attribute='action_object', label=_('Action object'), source=Action, + attribute='target', label=_('Target'), source=Action, widget=ObjectLinkWidget ) SourceColumn( - attribute='target', label=_('Target'), source=Action, + attribute='action_object', label=_('Action object'), source=Action, widget=ObjectLinkWidget )