From 550cdf22c4423861802750ac73c38ff6b70cb11e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Wed, 8 Apr 2009 16:33:29 +0000
Subject: [PATCH] - check more folders in portal

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

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkDataWithScript.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkDataWithScript.xml
index 50b865126a..6b37eaa54a 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkDataWithScript.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_checkDataWithScript.xml
@@ -82,7 +82,6 @@ if relative_url:\n
   depth = len(relative_url.split(\'/\'))\n
 else:\n
   depth = 0\n
-\n
 maximum_depth = 1\n
 \n
 assert depth <= maximum_depth\n
@@ -114,7 +113,16 @@ else:\n
     if full or not getattr(document, \'isHBTree\', lambda: 0)():\n
       id_list = document.objectIds()\n
       if not depth:\n
-        id_list = tuple(x for x in id_list if x.endswith(\'_module\'))\n
+        id_list = tuple(x for x in id_list if x.endswith(\'_module\') or x in [\n
+          \'portal_alarms\',\n
+          \'portal_categories\',\n
+          \'portal_deliveries\',\n
+          \'portal_orders\',\n
+          \'portal_preferences\',\n
+          \'portal_simulation\',\n
+          \'portal_templates\',\n
+          \'portal_trash\',\n
+        ])\n
     else:\n
       from DateTime import DateTime\n
       id_list = []\n
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index f44396cc1b..d845103a18 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-1149
\ No newline at end of file
+1150
\ No newline at end of file
-- 
2.30.9