https://github.com/backdrop-contrib/views_selective_filters
Allows to have an exposed filter only show options that belong to result set.
https://github.com/backdrop-contrib/views_selective_filters
backdrop backdropcms cms exposed filter views
Last synced: 6 months ago
JSON representation
Allows to have an exposed filter only show options that belong to result set.
- Host: GitHub
- URL: https://github.com/backdrop-contrib/views_selective_filters
- Owner: backdrop-contrib
- License: gpl-2.0
- Created: 2019-10-23T19:51:57.000Z (almost 6 years ago)
- Default Branch: 1.x-1.x
- Last Pushed: 2024-10-05T19:46:52.000Z (about 1 year ago)
- Last Synced: 2025-02-10T13:21:17.553Z (8 months ago)
- Topics: backdrop, backdropcms, cms, exposed, filter, views
- Language: PHP
- Homepage: https://backdropcms.org/project/views_selective_filters?destination=admin/dashboard
- Size: 57.6 KB
- Stars: 0
- Watchers: 11
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Views Selective Filters
=======================Allows to have an exposed filter only show options that belong to result set.
This module will replicate existing fields that are available. The fields that
this module adds are identified with the suffix "(selective)".Installation and Usage
----------------------- Install this module using the [official Backdrop CMS instructions](https://backdropcms.org/guide/modules)
- Add a field to the view that you want to use as a distinct field.
- Configure the field output as you wish.
- If you do not want this field to be shown in the result set,
just check the box in the field settings to "Exclude from display".
- Add a field with the sufffix "(selective)" to the filters on your view, and
in the filter settings select the field you configured earlier. If the field
is not showing, that means that the filter and field you are trying to match
are not compatible.You can get 3 types of errors with this module:
(a) You did not properly match a filter and a field.
(b) You properly matched filter and field, but the base field is not the same.
You get the same error text as in (a).
(c) You choose a field whose distinct value has more than the limit (100 by
default) of different possible values; obviously this field is not the
kind of field you would use for a selective filter.License
-------This project is GPL v2 software. See the LICENSE.txt file in this directory for
complete text.Current Maintainers
-------------------- [Bob Christenson](https://github.com/bobchristenson)
- [Laryn Kragt Bakker](https://github.com/laryn)
- Seeking additional maintainers.Credits
-------- Originally written for Drupal by [David Garcia](https://www.drupal.org/u/david_garcia).
- Ported to Backdrop CMS by [Bob Christenson](https://github.com/bobchristenson)
and [Herb Dool](https://github.com/herbdool).