From 94d879cd9b61a148f6f6809f8bbf1024e78f61c8 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Wed, 30 Jul 2008 11:37:23 +0000
Subject: [PATCH] Add new dynamic related keys for the reference property.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22754 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Catalog/CatalogTool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Catalog/CatalogTool.py b/product/ERP5Catalog/CatalogTool.py
index 25cb3e546a..bd681ed433 100644
--- a/product/ERP5Catalog/CatalogTool.py
+++ b/product/ERP5Catalog/CatalogTool.py
@@ -864,7 +864,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
             # We have found a base_category
             end_key = '_'.join(splitted_key[i:])
             # accept only some catalog columns
-            if end_key in ('title', 'uid', 'description',
+            if end_key in ('title', 'uid', 'description', 'reference',
                            'relative_url', 'id', 'portal_type'):
               if strict:
                 related_key_list.append(
-- 
2.30.9