diff --git a/product/ZSQLCatalog/SQLCatalog.py b/product/ZSQLCatalog/SQLCatalog.py index 29454e387a5648b98c7c97e0e40ea636496140c4..5e42201571c18ad1e0e5740f0e9594ac5a9d0e2b 100644 --- a/product/ZSQLCatalog/SQLCatalog.py +++ b/product/ZSQLCatalog/SQLCatalog.py @@ -1246,16 +1246,16 @@ class Catalog(Folder, for table in self.getCatalogSearchTableIds(): field_list = self._getCatalogSchema(table=table) for field in field_list: - keys[field] = 1 - keys['%s.%s' % (table, field)] = 1 # Is this inconsistent ? + keys[field] = None + keys['%s.%s' % (table, field)] = None # Is this inconsistent ? for related in self.getSQLCatalogRelatedKeyList(): related_tuple = related.split('|') related_key = related_tuple[0].strip() - keys[related_key] = 1 + keys[related_key] = None for scriptable in self.getSQLCatalogScriptableKeyList(): scriptable_tuple = scriptable.split('|') scriptable = scriptable_tuple[0].strip() - keys[scriptable] = 1 + keys[scriptable] = None keys = keys.keys() keys.sort() return keys