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

Ajax exposed filters not working for multiple instances of the same Views block placed on one page

$
0
0

Problem/Motivation

If there is a View that has exposed filters and then you place multiple of those views on a page, the filters do not work correctly.

Steps to reproduce

Create a Views block with exposed filters set to use Ajax.
Place this block more than once on the same page using Layout Builder.
Change the filter.

What should happen is that each instance of the block can have a different filter setting and display different content.

What happens is that changes made to either filter effect only the content displayed by the second Views block. The Ajax spinner stays on the page. Both filter forms have the same id attribute which is invalid HTML.


Viewing all articles
Browse latest Browse all 292421

Trending Articles



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