Skip to content

Commit d0c1546

Browse files
committed
Add README.txt
1 parent af9d87e commit d0c1546

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Allows to have an exposed filter only show options that belong to result set.
2+
3+
To make it work:
4+
5+
[1] Enable the module.
6+
[3] Add a field to the view that you want to use as a distinct field.
7+
[3.2] Configure the field output in [3] as you wish.
8+
[3.3] If you do not want this field to be shown in the result set,
9+
just mark it as "Hide From Display".
10+
[2] Add a filter of type "selective" to your view, and in the filter settings
11+
select the field you configured in [3]. If the field is not showing, that means
12+
that the filter and field you are trying to match are not compatible.
13+
14+
You can get 3 types of errors with this module:
15+
16+
(a) You did not properly match a filter and a field.
17+
(b) You properly matched filter and field, but base field is not the same.
18+
You get the same error text as in (a).
19+
(c) You choose a field whose distinct value has more than the limit (100 by default)
20+
different possible values, obviously this field is not the kind of field you
21+
would use for a selective filter.

0 commit comments

Comments
 (0)