Commit 236bc1f4 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Access the variable as 'self.sql_catalog_request_keys' instead of just 'sql_catalog_request_keys'.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2671 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 200ac56c
...@@ -1217,7 +1217,7 @@ class Catalog(Folder, Persistent, Acquisition.Implicit, ExtensionClass.Base): ...@@ -1217,7 +1217,7 @@ class Catalog(Folder, Persistent, Acquisition.Implicit, ExtensionClass.Base):
for key in acceptable_keys: for key in acceptable_keys:
if REQUEST.has_key(key): if REQUEST.has_key(key):
# Only copy a few keys from the REQUEST # Only copy a few keys from the REQUEST
if key in sql_catalog_request_keys: if key in self.sql_catalog_request_keys:
kw[key] = REQUEST[key] kw[key] = REQUEST[key]
# Let us try first not to use this # Let us try first not to use this
#for key in related_keys: #for key in related_keys:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment