From 9c651124b14fa4978d1e31ba04f855b4d88c05f1 Mon Sep 17 00:00:00 2001
From: Christophe Dumez <christophe@nexedi.com>
Date: Thu, 10 Aug 2006 12:26:14 +0000
Subject: [PATCH] - Temporary fix for title matching in OOo import (still
 unperfect)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9130 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_base/ERP5Site_getCategoriesFullPath.xml   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/ERP5Site_getCategoriesFullPath.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/ERP5Site_getCategoriesFullPath.xml
index f5e34eb34e..fae7f74027 100644
--- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/ERP5Site_getCategoriesFullPath.xml
+++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/ERP5Site_getCategoriesFullPath.xml
@@ -94,7 +94,7 @@ for category_name in category_dict.keys():\n
     result_dict[category_name]=result_cat_fullpath\n
   else:\n
     # XXX: this request does a LIKE "%xxxx%", We should find a way to remove the %%\n
-    result_list = context.portal_catalog(portal_type=\'Category\', title=str(subcat_code), relative_url=category_name+\'%\')\n
+    result_list = context.portal_catalog(portal_type=\'Category\', title=str(subcat_code)+\'%\', relative_url=category_name+\'%\')\n
     if len(result_list) != 0:\n
       result_cat_fullpath = \'/\'.join(result_list[0].getRelativeUrl().split(\'/\')[1:])\n
       result_dict[category_name]=result_cat_fullpath\n
-- 
2.30.9