From 7df1cfc7db77b375a177660e154ccd7e40e22745 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Thu, 23 Apr 2009 06:30:56 +0000
Subject: [PATCH] revert r.26569 partially. this script will be modified again
 with other UI changes.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26601 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../Predicate_getMembershipCriterionCategoryList.xml       | 7 +------
 product/ERP5/bootstrap/erp5_core/bt/revision               | 2 +-
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Predicate_getMembershipCriterionCategoryList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Predicate_getMembershipCriterionCategoryList.xml
index b5b63403fb..85fc7ee4b2 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Predicate_getMembershipCriterionCategoryList.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Predicate_getMembershipCriterionCategoryList.xml
@@ -75,11 +75,7 @@ for item in mixed_list:\n
           for x in fallback_category.getCategoryChildCompactLogicalPathItemList(base=1) if x[0]])\n
         break\n
 \n
-  for i in item_list:\n
-    if i[0] != \'\':\n
-      category_list.append([\'%s/%s\' % (item, i[0]), i[1]])\n
-    else:\n
-      category_list.append(i)\n
+  category_list.extend(item_list)\n
 \n
 return category_list\n
 </string> </value>
@@ -135,7 +131,6 @@ return category_list\n
                             <string>append</string>
                             <string>$append0</string>
                             <string>x</string>
-                            <string>i</string>
                           </tuple>
                         </value>
                     </item>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 805f57488a..1c1c657320 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-1167
\ No newline at end of file
+1168
\ No newline at end of file
-- 
2.30.9