I'd like to popose ViewsFiltersSummary::buildFilterDefinitions() extension to support:
- Entity reference fields, including, dynamic entity references, Select 2 lists with AJAX autocomplete
- Boolean fields, where by default field label is displayed, when filter is active (instead of it's value)
- Improve
list_fieldby adding 2D array support. Sometimes we build lists with groups (), this is not working with current implementation oflist_field.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | views_filters_summary-3548104-3.patch | 7.71 KB | gugalamaciek |
Comments
Comment #2
gugalamaciek commentedComment #3
gugalamaciek commentedComment #4
mably commented@gugalamaciek those patches are quite unreadable and not easy to review.
Could you provide an MR please?
This issue should likely be split into three separate issues.
Comment #5
mably commentedComment #6
gugalamaciek commentedYeah, I know. I’m short on time right now, but I’ll try to explain it better and add an MR when I get a free minute. For now, if someone needs it, can use the patch ;)
Comment #7
mably commentedOk, on my side I have been working on a separate issue for the boolean part: #3548230: Use exposed label for boolean filters when labels are disabled.
Comment #8
mably commentedBoolean label and 2D option values have been merged.
Only the entity reference filter remaining.
Comment #9
mably commented@gugalamaciek what module are you using for your entity reference filters?
Comment #10
mably commentedI guess you are using this module:
https://www.drupal.org/project/views_core_entity_reference
Let's see what we can do about it.
Related issue: #3548654: Compatibility with the Views Core Entity Reference module
Comment #11
mably commented3 related issues have been merged.
Let's mark this as fixed.
Comment #13
mably commentedComment #14
gugalamaciek commented