From 1b6a7b1a0f6b63f6dd706ab6319ada833b6a9ab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20G=C3=B3rny?= <bartek@gorny.edu.pl> Date: Sat, 14 Oct 2006 11:09:32 +0000 Subject: [PATCH] fix - label should not include base category git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10717 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_dms_patch/Category_childShortTitleOrIdItemList.xml | 2 +- bt5/erp5_dms/bt/revision | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms_patch/Category_childShortTitleOrIdItemList.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms_patch/Category_childShortTitleOrIdItemList.xml index 5f53ee0a75..d455e79ad5 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms_patch/Category_childShortTitleOrIdItemList.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms_patch/Category_childShortTitleOrIdItemList.xml @@ -88,7 +88,7 @@ def makeLogicalPathItem(o):\n cat=context.portal_categories.resolveCategory(pathhash)\n labelcache[pathhash]=getLabel(cat)\n pathlabels.append(labelcache[pathhash])\n - retval.append(\'/\'.join(pathlabels))\n + retval.append(\'/\'.join(pathlabels[1:]))\n retval.append(\'/\'.join(path[1:]))\n return retval\n \n diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index c390b4cff1..44dfb1d0bc 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -261 \ No newline at end of file +264 \ No newline at end of file -- 2.30.9