diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateValidatedProjectDomain.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateValidatedProjectDomain.xml index 1f21d063868e8df9498f1d0296ecda7be1d23aaa..00df81871eaf730de694d9ae8842a6b5162f8154 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateValidatedProjectDomain.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Base_generateValidatedProjectDomain.xml @@ -71,7 +71,7 @@ for category in category_list:\n sub_category_list = [category]\n while sub_category_list:\n sub_category = sub_category_list.pop()\n - membership_criterion_category.append(\'source_project/%s\' % sub_category.getRelativeUrl())\n + membership_criterion_category.append(\'source_project/%s/\' % sub_category.getRelativeUrl())\n sub_category_list.extend(sub_category.contentValues(portal_type=\'Project Line\'))\n \n domain.edit(title = category.getTitle(),\n diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_generateMonthDomain.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_generateMonthDomain.xml index d777faf07a07ec81c8bb34f784f0e4fa215c8e11..c038958684842d484d826e192c0e34152d367da1 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_generateMonthDomain.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_generateMonthDomain.xml @@ -69,7 +69,7 @@ params = portal.portal_selections.getSelectionParamsFor(selection_name, request) object_path = request.get(\'object_path\')\n if object_path is None:\n object_path = context.REQUEST.get(\'URL1\').split(\'/\')[-1]\n -search_path = \'\'.join(["%project_module/", object_path,"%"])\n +search_path = \'project_module/%s/%%\' % object_path\n category_list = []\n \n year = here.getStartDate().year()\n diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_generateTaskDomain.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_generateTaskDomain.xml index 739550228c9443fa4599d480e6938477596e81b6..374c91f3032cfb1124e9fdfe22c5accd81ab1b0b 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_generateTaskDomain.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/Project_generateTaskDomain.xml @@ -59,7 +59,7 @@ object_path = request.get(\'object_path\')\n if object_path is None:\n object_path = context.REQUEST.get(\'URL1\').split(\'/\')[-1]\n \n -search_path = \'\'.join(["%project_module/", object_path,"%"])\n +search_path = \'project_module/%s/%%\'\n \n if depth == 0:\n category_list = []\n diff --git a/bt5/erp5_project/bt/revision b/bt5/erp5_project/bt/revision index 8405587b4b94de3ef29dd2bd00d8296678a135a6..988e00fe6b2996b85c3c171cf2b3bed3e896795a 100644 --- a/bt5/erp5_project/bt/revision +++ b/bt5/erp5_project/bt/revision @@ -1 +1 @@ -767 \ No newline at end of file +768 \ No newline at end of file