I have a custom list that has a text filter connected to allow the user to filter one of the list columns. I now need to add a second XOR text filter to allow the user to filter on a different column in the list. The CAML for the query is:
<Query>
<OrderBy>
<FieldRef Name="Feeder"/>
<FieldRef Name="Transformer"/>
</OrderBy>
<Where>
<Or>
<Contains>
<FieldRef Name="Feeder"/>
<Value Type="Text">{FilterFeeder}</Value>
</Contains>
<Contains>
<FieldRef Name="Transformer"/>
<Value Type="Text">{FilterTransformer}</Value>
</Contains>
</Or>
</Where>
</Query>
This is kind of working but even when one filter is cleared, the filtered list still contains the rows defined by that filter, as well as any rows defined by the other filter.
How do I clear the rows retrieved by the first filter when applying the second one?