- Issue created by @orkut murat yılmaz
- First commit to issue fork.
- 🇧🇪Belgium StryKaizer Belgium
strykaizer → changed the visibility of the branch 3512142-facets-3.x-support to hidden.
-
strykaizer →
committed a6907b5f on 8.x-1.x
Issue #3512142 by strykaizer: Facets 3.x support
-
strykaizer →
committed a6907b5f on 8.x-1.x
-
strykaizer →
committed 3bfbe676 on 8.x-1.x
#3512142 Facets exposed filter
-
strykaizer →
committed 3bfbe676 on 8.x-1.x
- 🇧🇪Belgium StryKaizer Belgium
Related issue for Facets: 📌 Support Views Dependent Filters Active
changes to dependent_filters don't get saved since "options" get overwritten.
patch towards commit 3bfbe676:diff --git a/src/Plugin/views/filter/ViewsDependentFilter.php b/src/Plugin/views/filter/ViewsDependentFilter.php index 51ce85365..b5af9f9de 100644 --- a/src/Plugin/views/filter/ViewsDependentFilter.php +++ b/src/Plugin/views/filter/ViewsDependentFilter.php @@ -228,6 +228,7 @@ public function submitOptionsForm(&$form, FormStateInterface $form_state) { $controller_values = array_map('trim', explode(',', $controller_values)); $controller_values = array_combine($controller_values, $controller_values); $this->options["controller_values"] = $controller_values; + $this->options["dependent_filters"] = $form_state->getValue('options')['dependent_filters']; $form_state->setValue('options', $this->options); } }
Automatically closed - issue fixed for 2 weeks with no activity.
- 🇧🇪Belgium StryKaizer Belgium
@van.dordafog I can not reproduce this problem.
I'm testing on 8.x-1.x HEAD with Drupal 11.
When I change a value from "Dependent filters", it gets saved correctly.Any ideas how I can reproduce this?
@strykaizer yes, issue doesn't exist on newest dev state, as its fixed by commit
I probably patched from an older MR diff