Commit a288a62e authored by Tristan Cavelier's avatar Tristan Cavelier Committed by Kazuhiko Shiozaki

add pragma '*D+' to listbox title & description search

parent be040606
......@@ -55,7 +55,7 @@
"""\n
from Products.ZSQLCatalog.SQLCatalog import Query\n
\n
query = Query(**{\'catalog_full_text.fulltext_description\': value} )\n
query = Query(**{\'catalog_full_text.fulltext_description\': \'*D+ %s\' % value, \'key\': \'FullTextKey\'} )\n
return query\n
</string> </value>
</item>
......
......@@ -55,7 +55,7 @@
"""\n
from Products.ZSQLCatalog.SQLCatalog import Query\n
\n
query = Query(**{\'catalog_full_text.fulltext_title\': value} )\n
query = Query(**{\'catalog_full_text.fulltext_title\': \'*D+ %s\' % value, \'key\': \'FullTextKey\'} )\n
return query\n
</string> </value>
</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