Commit 8487712e authored by Jean-Paul Smets's avatar Jean-Paul Smets

Extended parameters (maybe useful)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10033 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 88aede74
......@@ -8,6 +8,8 @@ class_name:
class_file:
</dtml-comment>
<params>uid
PrincipiaSearchSource
SearchableText
Title
start
end
......@@ -20,6 +22,8 @@ INSERT INTO
cps
SET
uid = <dtml-sqlvar uid type="int">,
PrincipiaSearchSource=<dtml-sqlvar PrincipiaSearchSource type="string">,
SearchableText=<dtml-sqlvar SearchableText type="string">,
ZCTitle = <dtml-sqlvar Title type="string">,
start = <dtml-sqlvar start type="string">,
end = <dtml-sqlvar end type="string">,
......
......@@ -22,6 +22,8 @@ CREATE TABLE `cps` (
`time` datetime default '0000-00-00 00:00:00',
`relative_path_depth` int(11) default NULL,
`container_path` varchar(255) default NULL,
`PrincipiaSearchSource` text,
`SearchableText` text,
KEY (`uid`),
KEY `start` (`start`),
KEY `leaves` (`leaves`),
......@@ -29,5 +31,8 @@ CREATE TABLE `cps` (
KEY `time` (`time`),
KEY `searchable` (`searchable`),
KEY `end` (`end`),
KEY `container_path` (`container_path`)
) TYPE=InnoDB;
KEY `container_path` (`container_path`),
FULLTEXT KEY `PrincipiaSearchSource` (`PrincipiaSearchSource`),
FULLTEXT KEY `SearchableText` (`SearchableText`),
FULLTEXT KEY `ZCTitle` (`ZCTitle`)
) TYPE=MyISAM;
......@@ -8,6 +8,8 @@ class_name:
class_file:
</dtml-comment>
<params>uid
PrincipiaSearchSource
SearchableText
Title
start
end
......@@ -19,6 +21,8 @@ getPhysicalPath</params>
UPDATE
cps
SET
PrincipiaSearchSource=<dtml-sqlvar PrincipiaSearchSource type="string">,
SearchableText=<dtml-sqlvar SearchableText type="string">,
ZCTitle = <dtml-sqlvar Title type="string">,
start = <dtml-sqlvar start type="string">,
end = <dtml-sqlvar end type="string">,
......
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