haydonwebdesign
New Member
I've read quite a few threads on this topic, as well as the Fabrik tutorial which touches on the issue, unfortunately I've been unable to find the solution so far.
Our current URL looks like:
?resetfilters=1&industry[value][]=0014&industry[join]=OR&industry[value][]=1001&location[value][]=1004
Which filters the results as follows:
(industry = 1001 OR industry = 0014 OR location = 1004)
However, in this case I'm trying to achieve this:
(industry = 1001 OR industry= 0014) AND (location = 1004)
And in the general case I need to achieve the following:
(industry = 1 OR ... OR industry =x) AND (location = 1 OR ... OR location = x) AND (company = 1 OR ... OR company = x) AND (level = 1 OR ... OR level = x)
To describe this in words:
Our current URL looks like:
?resetfilters=1&industry[value][]=0014&industry[join]=OR&industry[value][]=1001&location[value][]=1004
Which filters the results as follows:
(industry = 1001 OR industry = 0014 OR location = 1004)
However, in this case I'm trying to achieve this:
(industry = 1001 OR industry= 0014) AND (location = 1004)
And in the general case I need to achieve the following:
(industry = 1 OR ... OR industry =x) AND (location = 1 OR ... OR location = x) AND (company = 1 OR ... OR company = x) AND (level = 1 OR ... OR level = x)
To describe this in words:
- four fields to filter by
- between filter values for a single field => connected by OR
- between filters on different fields => connected by AND