Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
3d19c61b
Commit
3d19c61b
authored
Sep 23, 2014
by
Tristan Cavelier
Committed by
Kazuhiko Shiozaki
Oct 23, 2014
Browse files
Options
Browse Files
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 @@
...
@@ -53,9 +53,9 @@
<value>
<string>
"""\n
<value>
<string>
"""\n
MySQL\'s full text searchable key implementation.\n
MySQL\'s full text searchable key implementation.\n
"""\n
"""\n
from Products.ZSQLCatalog.SQLCatalog import Query\n
from Products.ZSQLCatalog.SQLCatalog import
Simple
Query\n
\n
\n
query =
Query(**{\'catalog_full_text.fulltext_description\': \'*D+ %s\' % value, \'key\': \'FullTextKey
\'} )\n
query =
SimpleQuery(**{\'catalog_full_text.fulltext_description\': \'*D+ %s\' % value, \'comparison_operator\': \'match_boolean
\'} )\n
return query\n
return query\n
</string>
</value>
</string>
</value>
</item>
</item>
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeTitleFullTextQuery.xml
View file @
3d19c61b
...
@@ -53,9 +53,9 @@
...
@@ -53,9 +53,9 @@
<value>
<string>
"""\n
<value>
<string>
"""\n
MySQL\'s full text searchable key implementation.\n
MySQL\'s full text searchable key implementation.\n
"""\n
"""\n
from Products.ZSQLCatalog.SQLCatalog import Query\n
from Products.ZSQLCatalog.SQLCatalog import
Simple
Query\n
\n
\n
query =
Query(**{\'catalog_full_text.fulltext_title\': \'*D+ %s\' % value, \'key\': \'FullTextKey
\'} )\n
query =
SimpleQuery(**{\'catalog_full_text.fulltext_title\': \'*D+ %s\' % value, \'comparison_operator\': \'match_boolean
\'} )\n
return query\n
return query\n
</string>
</value>
</string>
</value>
</item>
</item>
...
...
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