- Issue created by @Aish17895
- Status changed to Needs review
about 1 year ago 5:41am 10 November 2023 - 🇺🇸United States danflanagan8 St. Louis, US
I ran into this issue. I have a view block with an exposed firm and views_filters_summary header. When I click the X to remove one of the filters, I end up getting directed to the search page! That's because there's an exposed form in the page header for the search page. That's pretty typical.
Agreed that the selector needs to be a bit smarter for the form's submit button.
I changed the word "filter" to "form" in the title and the IS because that's more accurate. And note that one does not even need to have multiple instances of the views_filters_summary area to get this bug. Like I reported, it's happening with the search bar in my site's header.
- 🇱🇧Lebanon layalk
You can simply get the from using the
context
.
I adjusted the fix by also looking for the form if it's exposed as a block and it's not within the views container.
Not sure though if using theaction
as a selector is the best way to do it. But it's working for me for both cases(block or not)
- 🇺🇸United States rondog469
@layalk confirming your patch fixes the redirect issue
- Status changed to Fixed
4 months ago 7:38am 5 September 2024 Automatically closed - issue fixed for 2 weeks with no activity.