Commit 0792e709 authored by Ivan Tyagov's avatar Ivan Tyagov

Handle reference which was not part of generated query.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33288 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 446f0dff
......@@ -100,6 +100,10 @@ parsed_searchabletext = parsed_search_string.get(\'searchabletext\', None)\n
if parsed_searchabletext is not None: \n
query_kw[\'full_text.SearchableText\'] = parsed_searchabletext\n
\n
reference = parsed_search_string.get(\'reference\', None)\n
if reference is not None:\n
query_kw[\'reference\'] = reference\n
\n
where_expression_list = []\n
creation_from = parsed_search_string.get(\'creation_from\', None)\n
creation_to = parsed_search_string.get(\'creation_to\', None)\n
......@@ -190,6 +194,7 @@ return result\n
<string>len</string>
<string>_write_</string>
<string>parsed_searchabletext</string>
<string>reference</string>
<string>where_expression_list</string>
<string>creation_from</string>
<string>creation_to</string>
......
1081
\ No newline at end of file
1083
\ No newline at end of file
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