Commit 69233dfe by Jérome Perrin

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

otherwise we have no % expansions
1 parent a08d5b2c
......@@ -60,7 +60,7 @@ if \'content_translation\' in catalog.getProperty(\'sql_search_tables\'):\n
Query(**{\'content_translation.property_name\': \'title\'}))\n
\n
# Otherwise it simply use title\n
return SimpleQuery(title=value)\n
return Query(title=value)\n
</string> </value>
</item>
<item>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!