Jump to:

23364 Posts in 18125 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » $searchable_fields in SilverStripe 2.4.1

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 609 Views
  • cuSSter
    Avatar
    Community Member
    56 Posts

    $searchable_fields in SilverStripe 2.4.1 Link to this post

    Hi,

    Just upgraded from 2.3.6 to 2.4.1 and one of my $searchable_fields does not seem to work properly anymore. It's on a 2nd level relationship. Example:

    $searchable_fields = array( '1stDegree.2ndDegree.ID' => array( 'title' => 'Name' ) );

    What seems to be the problem with this?

  • swaiba
    Avatar
    Forum Moderator
    1784 Posts

    Re: $searchable_fields in SilverStripe 2.4.1 Link to this post

    I'd suggest replacing

    array( 'title' => 'Name' )

    with just...

    'Name'

    To help any more it might be easier if you provided the actual error message.

    609 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.