Commit 583e1f40 authored by Vincent Pelletier's avatar Vincent Pelletier

ExactMatch was renamed into RawKey in the commit. ExactMatch is still...

ExactMatch was renamed into RawKey in the commit. ExactMatch is still explicitely asked for in existing code, so add a compatibility alias.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25709 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 79663e98
......@@ -1968,6 +1968,10 @@ class Catalog(Folder,
# "KeywordKey".
if search_key_name == 'Keyword':
search_key_name = value['key'] = 'KeywordKey'
# Backward compatibility: former "ExactMatch" is now only available
# as "RawKey"
elif search_key_name == 'ExactMatch':
search_key_name = value['key'] = 'RawKey'
result = self.buildSingleQuery(key, value, search_key_name)
else:
# Any other type, just create a query. (can be a DateTime, ...)
......
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