Searching and the Partialmatch filter  Showing 1-5 of 5 messages
Searching and the Partialmatch filter anselmdk 10/14/12 6:05 AM
I'm writig a small search form to search for a specific page
type on the frontend. In the documentation ( it's mentioned that
you can write something like below, when you want to search for
more than one field:      'FirstName,Surname:PartialMatch' =>
'sam'  Running this on both master and the 3.0 branch gives the
error "Couldn't find field FirstName,Surname in any of Member's
tables.". I've dug a little into the problem, and see that the
constructor of SearchFilter.php (which PartialmatchFilter.php
extends) is internally setting "fullName" to "FirstName,Surname"
instead of checking whether it's dealing with a list and
converting it to an array (and then doing it's magic).  Rather
than being a bug it seems to me that this feature has just not
been implemented yet?   Re: Searching and the Partialmatch
filter Ingo Schommer 10/16/12 6:10 AM I've confirmed that its
not possible to do th