Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roque
erp5
Commits
5d1e50f7
Commit
5d1e50f7
authored
Nov 13, 2014
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! use fulltext search in title and description.
parent
1d0b0e20
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
241 additions
and
7 deletions
+241
-7
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_person_full_text.catalog_keys.xml
...b/z_related_destination_person_full_text.catalog_keys.xml
+2
-0
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_person_full_text.xml
...5_mysql_innodb/z_related_destination_person_full_text.xml
+75
-0
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_organisation_full_text.catalog_keys.xml
.../z_related_source_organisation_full_text.catalog_keys.xml
+2
-0
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_organisation_full_text.xml
..._mysql_innodb/z_related_source_organisation_full_text.xml
+75
-0
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_person_full_text.catalog_keys.xml
...innodb/z_related_source_person_full_text.catalog_keys.xml
+2
-0
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_person_full_text.xml
...g/erp5_mysql_innodb/z_related_source_person_full_text.xml
+75
-0
bt5/erp5_base/CatalogRelatedKeyTemplateItem/related_key_list.xml
...5_base/CatalogRelatedKeyTemplateItem/related_key_list.xml
+3
-3
bt5/erp5_base/bt/template_catalog_method_id_list
bt5/erp5_base/bt/template_catalog_method_id_list
+4
-1
bt5/erp5_base/bt/template_catalog_related_key_list
bt5/erp5_base/bt/template_catalog_related_key_list
+3
-3
No files found.
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_person_full_text.catalog_keys.xml
0 → 100644
View file @
5d1e50f7
<catalog_method>
</catalog_method>
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_person_full_text.xml
0 → 100644
View file @
5d1e50f7
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"SQL"
module=
"Products.ZSQLMethods.SQL"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
table_0\r\n
table_1\r\n
table_2
</string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
z_related_destination_person_full_text
</string>
</value>
</item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
</item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
src
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<dtml-var table_1>
.uid =
<dtml-var
table_0
>
.category_uid\n
AND
<dtml-var
table_0
>
.base_category_uid =
<dtml-var
"portal_categories.destination.getUid()"
>
\n
AND
<dtml-var
table_0
>
.uid = catalog.uid\n
AND
<dtml-var
table_1
>
.portal_type = \'Person\'\n
AND
<dtml-var
table_1
>
.uid =
<dtml-var
table_2
>
.uid\n
]]>
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_organisation_full_text.catalog_keys.xml
0 → 100644
View file @
5d1e50f7
<catalog_method>
</catalog_method>
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_organisation_full_text.xml
0 → 100644
View file @
5d1e50f7
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"SQL"
module=
"Products.ZSQLMethods.SQL"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
table_0\r\n
table_1\r\n
table_2
</string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
z_related_source_organisation_full_text
</string>
</value>
</item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
</item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
src
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<dtml-var table_1>
.uid =
<dtml-var
table_0
>
.category_uid\n
AND
<dtml-var
table_0
>
.base_category_uid =
<dtml-var
"portal_categories.source.getUid()"
>
\n
AND
<dtml-var
table_0
>
.uid = catalog.uid\n
AND
<dtml-var
table_1
>
.portal_type = \'Organisation\'\n
AND
<dtml-var
table_1
>
.uid =
<dtml-var
table_2
>
.uid\n
]]>
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_person_full_text.catalog_keys.xml
0 → 100644
View file @
5d1e50f7
<catalog_method>
</catalog_method>
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_person_full_text.xml
0 → 100644
View file @
5d1e50f7
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"SQL"
module=
"Products.ZSQLMethods.SQL"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
table_0\r\n
table_1\r\n
table_2
</string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
z_related_source_person_full_text
</string>
</value>
</item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
</item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
src
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
<dtml-var table_1>
.uid =
<dtml-var
table_0
>
.category_uid\n
AND
<dtml-var
table_0
>
.base_category_uid =
<dtml-var
"portal_categories.source.getUid()"
>
\n
AND
<dtml-var
table_0
>
.uid = catalog.uid\n
AND
<dtml-var
table_1
>
.portal_type = \'Person\'\n
AND
<dtml-var
table_1
>
.uid =
<dtml-var
table_2
>
.uid\n
]]>
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_base/CatalogRelatedKeyTemplateItem/related_key_list.xml
View file @
5d1e50f7
...
...
@@ -2,8 +2,8 @@
<key>
child_address_SearchableText | catalog,full_text/SearchableText/z_related_child_address
</key>
<key>
child_telephone_SearchableText | catalog,full_text/SearchableText/z_related_child_telephone
</key>
<key>
default_email_text | catalog,email/url_string/z_related_default_email
</key>
<key>
destination_person_title | category,catalog
_full_text/title/z_related_destination_person
</key>
<key>
destination_person_title | category,catalog
,catalog_full_text/title/z_related_destination_person_full_text
</key>
<key>
related_resource_use_uid | category,category,catalog,catalog/uid/z_related_resource_use
</key>
<key>
source_organisation_title | category,catalog
_full_text/title/z_related_source_organisation
</key>
<key>
source_person_title | category,catalog
_full_text/title/z_related_source_person
</key>
<key>
source_organisation_title | category,catalog
,catalog_full_text/title/z_related_source_organisation_full_text
</key>
<key>
source_person_title | category,catalog
,catalog_full_text/title/z_related_source_person_full_text
</key>
</key_list>
\ No newline at end of file
bt5/erp5_base/bt/template_catalog_method_id_list
View file @
5d1e50f7
...
...
@@ -3,6 +3,9 @@ erp5_mysql_innodb/z_related_child_address
erp5_mysql_innodb/z_related_child_telephone
erp5_mysql_innodb/z_related_default_email
erp5_mysql_innodb/z_related_destination_person
erp5_mysql_innodb/z_related_destination_person_full_text
erp5_mysql_innodb/z_related_resource_use
erp5_mysql_innodb/z_related_source_organisation
erp5_mysql_innodb/z_related_source_organisation_full_text
erp5_mysql_innodb/z_related_source_person
erp5_mysql_innodb/z_related_source_person_full_text
\ No newline at end of file
bt5/erp5_base/bt/template_catalog_related_key_list
View file @
5d1e50f7
source_organisation_title | category,catalog
_full_text/title/z_related_source_organisation
source_person_title | category,catalog
_full_text/title/z_related_source_person
destination_person_title | category,catalog
_full_text/title/z_related_destination_person
source_organisation_title | category,catalog
,catalog_full_text/title/z_related_source_organisation_full_text
source_person_title | category,catalog
,catalog_full_text/title/z_related_source_person_full_text
destination_person_title | category,catalog
,catalog_full_text/title/z_related_destination_person_full_text
default_email_text | catalog,email/url_string/z_related_default_email
related_resource_use_uid | category,category,catalog,catalog/uid/z_related_resource_use
child_address_SearchableText | catalog,full_text/SearchableText/z_related_child_address
...
...
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