From ed144436554e2cb839329f8cb3720aeb73e0d76f Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Tue, 25 Oct 2011 13:42:14 +0900
Subject: [PATCH] Fix Base_resetListSetting. It did not work with "Set List
 Setting" dialog. Now it accepts any parameters.

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

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_resetListSetting.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_resetListSetting.xml
index 1d6629be77..55484f52fa 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_resetListSetting.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_resetListSetting.xml
@@ -63,7 +63,7 @@ return context.Base_redirect(form_id, keep_items=dict(\n
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>form_id, selection_name</string> </value>
+            <value> <string>form_id, selection_name, *args, **kw</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/change_log b/product/ERP5/bootstrap/erp5_core/bt/change_log
index 2019bda50b..6239b39f87 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/change_log
+++ b/product/ERP5/bootstrap/erp5_core/bt/change_log
@@ -1,3 +1,6 @@
+2011-10-25 yusei
+* Fix Base_resetListSetting. It did not work with "Set List Setting" dialog. Now it accepts any parameters.
+
 2011-06-23 yusei
 * Add an action to call alarm.activeSense() for developer.
 
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index f552c6baab..db902788dc 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-40979
\ No newline at end of file
+40980
\ No newline at end of file
-- 
2.30.9