Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

API CHANGE: full text search description now uses array method

  • Loading branch information...
commit bf73d40b41a166b1e3946f35c4fdf782ef69faf6 1 parent a33e606
@geoff-silverstripe geoff-silverstripe authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  code/Post.php
View
2  code/Post.php
@@ -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(
Please sign in to comment.
Something went wrong with that request. Please try again.