21309 Posts in 5738 Topics by 2603 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|