From d8c62e751b08a22ea4b5a351fedee95129e2d699 Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Sun, 2 May 2004 19:36:38 +0000 Subject: [PATCH] added table prefix to fields git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@796 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ZSQLCatalog/SQLCatalog.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ZSQLCatalog/SQLCatalog.py b/product/ZSQLCatalog/SQLCatalog.py index 0a0922af359..c9cef051ff7 100755 --- a/product/ZSQLCatalog/SQLCatalog.py +++ b/product/ZSQLCatalog/SQLCatalog.py @@ -108,6 +108,7 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base): search_result = method(table=table) for c in search_result: keys[c.Field] = 1 + keys['%s.%s' % (table, c.Field)] = 1 # Is this inconsistent ? except: pass keys = keys.keys() -- 2.30.9