Page 1 of 1

Listit filtering problems

Posted: Fri Mar 14, 2014 5:19 pm
by faglork
Hi!

The module help says: "(optional) search_*="" - Search a particular field. You can use 'title' or the alias of a field definition, e.g. search_title. Can be combined with fulltext search. Multiple search_* params can be combined."

a) what is meant by "combined"? Is this an AND or an OR?

b) I have a multiselect/checkbox group type of field, and I need to search for several values in the same field. Is this possible?

c) Just HOW do I combine parameters? Neither of this works:

search_myfield="param1" search_myfield="param1"

search_myfield="param1, param2"

search_myfield="param1 param2"

??

Cheers,
Alex

Re: Listit filtering problems

Posted: Fri Mar 14, 2014 5:29 pm
by Jo Morg
module help wrote:"(optional) search_*="" - Search a particular field. You can use 'title' or the alias of a field definition, e.g. search_title. Can be combined with fulltext search. Multiple search_* params can be combined."
c) I would assume: search_myfield1=$what search_myfield2=$what
where in search_* you replace the * by the field name or field alias and $what would be a search string or var...