Permalink
Browse files

API CHANGE: full text search description now uses array method

  • Loading branch information...
1 parent a33e606 commit bf73d40b41a166b1e3946f35c4fdf782ef69faf6 @geoff-silverstripe geoff-silverstripe committed Mar 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/Post.php
View
@@ -16,7 +16,7 @@ class Post extends DataObject {
);
static $indexes = array(
- "SearchFields" => "fulltext (Content)"
+ "SearchFields" => Array('type'=>'fulltext', 'name'=>'SearchFields', 'value'=>'Content'),
);
static $casting = array(

0 comments on commit bf73d40

Please sign in to comment.