From 8bac3dda87c81dfc44c42b35cfb1cdd6963b0159 Mon Sep 17 00:00:00 2001
From: Tristan Cavelier <tristan.cavelier@tiolive.com>
Date: Mon, 8 Apr 2013 17:37:48 +0200
Subject: [PATCH] Activity List does not show arguments -> fixed

---
 .../portal_skins/erp5_core/ActivityTool_getMessageList.xml     | 3 ++-
 product/ERP5/bootstrap/erp5_core/bt/revision                   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ActivityTool_getMessageList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ActivityTool_getMessageList.xml
index 3762c51e14..0f9c5d4915 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ActivityTool_getMessageList.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ActivityTool_getMessageList.xml
@@ -58,7 +58,7 @@ if kw.get(\'processing_node\', None) == \'\':\n
   del kw[\'processing_node\']\n
 \n
 #key_list_to_search = [x for (x,y) in [(k,kw[k]) for k in [\'uid_activity\',\'str_object_path\',\'method_id\',\'retry\',\'processing\']] if y != \'\']\n
-message_kw = dict([(k,kw[k]) for k in [\'uid_activity\',\'str_object_path\',\'method_id\',\'retry\',\'processing\'] if not(kw.get(k) in (\'\',None))])\n
+message_kw = dict([(k,kw[k]) for k in [\'uid_activity\',\'str_object_path\',\'method_id\',\'args\',\'retry\',\'processing\'] if not(kw.get(k) in (\'\',None))])\n
 \n
 message_list = context.getMessageTempObjectList(**message_kw)\n
 message_list_to_show = []\n
@@ -66,6 +66,7 @@ while len(message_list) > 0:\n
   message = message_list.pop(0)\n
   message.edit(str_object_path = \'/\'.join(str(i) for i in message.object_path))\n
   message.edit(uid_activity = str(message.uid) + \' (\'+ message.activity[3:] +\')\')\n
+  message.edit(arguments = str(message.args))\n
 #  # search filter\n
 #  try:\n
 #    for k in key_list_to_search:\n
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 59f15056d7..8956e57e80 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-41078
\ No newline at end of file
+41079
\ No newline at end of file
-- 
2.30.9