Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300217

Views exposed taxonomy filter

$
0
0

Twig dump function in the exposed form

After updating my site from Drupal 10.0.9 to Drupal 10.1.0 and then to 10.1.1. Disappeared my views exposed filter. I have custom code in a hook form alter. Change theme, delete code, but no solution came.

Then I installed a new Drupal site, with the steps below. First with version 10.0.9.. no problem. Then with 10.1.0 and 10.1.1. A {{ dump() }} inspection of the view-exposed-form.html.twig yields no results and the exposed form disappears. This only if an exposed filter of type taxonomy term is created. With other filters, not of this type, everything functions normally.

Because this was done in a fresh installation, without any custom code, without any other module, nor themes, I suspect this is a bug. Unfortunately I can't find the solution myself.

Steps to reproduce

  1. Create a vocabulary.
  2. Create a custom content type
  3. Create a view page, with filter criteria to the newly created content type. : Unformatted list, Content: teaser
  4. Create an exposed filter to select the taxonomy terms via multi select. Possibly create other exposed filters that do not refer to a taxonomy term.
  5. Exposed form in a block : yes.
  6. Add a {{ dump(form) }} function to view-exposed-form.html.twig

Viewing all articles
Browse latest Browse all 300217

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>