Page 1 of 1

LISE - Multiple Category Filtering

Posted: Wed May 15, 2019 5:21 am
by rbaby
Hi guys,

I'm using LISE and need to be able to display items that have all the categories specified, not any of. Basically cat1 AND cat2 AND cat3; currently the category="" filter is doing cat1 OR cat2 OR cat3 so it's basically displaying everything.

I have 2 levels of filtering:
- Language
- Type/Group
- Featured (yes/no)

I have a homepage that would only need to show language=english and featured=yes. A landing page that would need to show language=english and grouped by type/group.

I'm happy to use a separate field definition for this such as a checkbox group, but I'm unsure how to filter when I call the tag with a custom field. Any guidance would be appreciated.

Thank you.

Re: LISE - Multiple Category Filtering

Posted: Wed May 29, 2019 7:01 am
by tamsrud
LISE only support one category, so the other two must be a dropdown or similar. Checkbox for Features seems reasonable.

To filer on multiple fieds, you can use search.
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.
Example
{LISEModule search_language='english' search_featured='1'}

Re: LISE - Multiple Category Filtering

Posted: Wed Jun 05, 2019 7:20 am
by rbaby
Thank you so much!