-
Notifications
You must be signed in to change notification settings - Fork 2
Filtering
Roman Klein edited this page Mar 1, 2016
·
1 revision
- is
- less than *
- greater than
- between
The above mentioned filter modes can be used in the following ways:
| Filter Mode | Filter String (Example) |
|---|---|
| is | 0 |
| is | 1, 2 |
| is | 1 + 2 |
| is | {$param} |
| is | {$param-a}, {$param-b} |
| less than |
less than 10 or < 10
|
| less than |
less than {$param} or < {$param}
|
| greater than |
greater than 0 or > 0
|
| greater than |
greater than {$param} or > {$param}
|
| greater than + less than |
greater than 1 + less than 100
|
| greater than + less than |
greater than {$param} + less than {$param}
|
| between |
0 to 100 or 0-100
|
| between |
{$param} to 100 or {$param}-100
|
| between |
{$param-a} to {$param-b} or {$param-a}-{$param-b}
|
| between |
0 to 1, 9 to 10 or 0-1, 9-10
|
| between |
0 to 1 + 9 to 10 or 0-1 + 9-10
|
-
OR : Multiple filter conditions delimited by
,will returntrueif one the conditions is met. -
AND : Multiple filter conditions combined by a
+will returntrueif all of the conditions are met.
Entries filtered by slider field will be returned as result …
- ... if the entry's slider defines a single value and a single filter value is equal to that value.
- ... if the entry's slider defines a single value that lies within a range of filter values.
- ... if the entry's slider defines a value range and a single filter value is within that range.
- ... if the entry's slider defines a value range that lies within a range of filter values.