Commit 69233dfe authored by Jérome Perrin's avatar Jérome Perrin

Catalog: translated title search must fallback on title using an AutoQuery, not a SimpleQuery

otherwise we have no % expansions
parent a08d5b2c
...@@ -60,7 +60,7 @@ if \'content_translation\' in catalog.getProperty(\'sql_search_tables\'):\n ...@@ -60,7 +60,7 @@ if \'content_translation\' in catalog.getProperty(\'sql_search_tables\'):\n
Query(**{\'content_translation.property_name\': \'title\'}))\n Query(**{\'content_translation.property_name\': \'title\'}))\n
\n \n
# Otherwise it simply use title\n # Otherwise it simply use title\n
return SimpleQuery(title=value)\n return Query(title=value)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
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