This project is read-only.

Projection filter AND & OR criteria

Topics: Core, General
Jun 1, 2012 at 3:02 PM
Edited Jun 1, 2012 at 3:04 PM

For my current website i have a projection of a list of items and i want to create a single search texbox where users can filter on both body and title of the items.

The problem is that when i add the title and body filters to the projection it uses a AND between the filters and not a OR how i want it. BTW i use the querystring filtering method and both body and title filter uses the same querystring parameter name to filter.

Is there already thought about this problem and is there any solution other then create my own filter?

Jun 1, 2012 at 5:41 PM

Add a new Group of filters. Groups are ORed, and filters inside a group are ANDed

Jun 1, 2012 at 6:49 PM

wow that's amazing. Every time i think I've found some limits to the projector module it's proving me wrong! Excellent work!