Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sven Franck
erp5
Commits
3d19c61b
Commit
3d19c61b
authored
10 years ago
by
Tristan Cavelier
Committed by
Kazuhiko Shiozaki
10 years ago
Browse files
Options
Download
Email Patches
Plain Diff
use SimpleQuery instead of Query for title and description on catalog_full_text
parent
a288a62e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeDescriptionFullTextQuery.xml
..._mysql_innodb/SQLCatalog_makeDescriptionFullTextQuery.xml
+2
-2
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeTitleFullTextQuery.xml
...g/erp5_mysql_innodb/SQLCatalog_makeTitleFullTextQuery.xml
+2
-2
No files found.
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeDescriptionFullTextQuery.xml
View file @
3d19c61b
...
...
@@ -53,9 +53,9 @@
<value>
<string>
"""\n
MySQL\'s full text searchable key implementation.\n
"""\n
from Products.ZSQLCatalog.SQLCatalog import Query\n
from Products.ZSQLCatalog.SQLCatalog import
Simple
Query\n
\n
query = Query(**{\'catalog_full_text.fulltext_description\': \'*D+ %s\' % value, \'
key\': \'FullTextKey
\'} )\n
query =
Simple
Query(**{\'catalog_full_text.fulltext_description\': \'*D+ %s\' % value, \'
comparison_operator\': \'match_boolean
\'} )\n
return query\n
</string>
</value>
</item>
...
...
This diff is collapsed.
Click to expand it.
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeTitleFullTextQuery.xml
View file @
3d19c61b
...
...
@@ -53,9 +53,9 @@
<value>
<string>
"""\n
MySQL\'s full text searchable key implementation.\n
"""\n
from Products.ZSQLCatalog.SQLCatalog import Query\n
from Products.ZSQLCatalog.SQLCatalog import
Simple
Query\n
\n
query = Query(**{\'catalog_full_text.fulltext_title\': \'*D+ %s\' % value, \'
key\': \'FullTextKey
\'} )\n
query =
Simple
Query(**{\'catalog_full_text.fulltext_title\': \'*D+ %s\' % value, \'
comparison_operator\': \'match_boolean
\'} )\n
return query\n
</string>
</value>
</item>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment