23376 Posts in 18214 Topics by 2867 members
|Go to End|
Guy Van Bael
6 October 2012 at 3:48am
I found this in the doc section, but somehow i can't seem to make it work. Adding multiple colums to query returns server error.
**** this is the doc ****
If you wish to match against any of a number of columns, you can list several field names, separated by commas. This will return all members whose first name or surname contain the string 'sam'.
$members = Member::get()->filter(array(
'FirstName,Surname:PartialMatch' => 'sam'
Anyone got this working?
|Go to Top|