Is it possible to search objects that extend Page
? For instance;
I have a type, Article
that extends Page
and provides the following extra fields; Author and Summary. SilverStripe will create a database table named Article that containts the above fields as columns, but borrows upon the SiteTree table for the Content and Title field.
I want to be able to search by Author, Summary text, Content text, and Title.. and add the following to _config;
Searchable::add('Article',array('Author','Summary','Content','Title'),'News Articles');
This results in:
[User Error] Couldn't run query: ALTER TABLE "Article" ADD fulltext "SearchFields" ("Author","Summary","Content","Title") Key column 'Content' doesn't exist in table
As those [Content, Title] fields don't exist on the Article table.
Does the module support this scenario?
Many thanks for any ideas.
~ Brice