- ๐ฌ๐งUnited Kingdom mjpa
Patch in #82 doesn't work for us, it removes the ajax_view.js changes present in #80.
#80 applied to 9.5.5 cleanly and works for us.
- @tgauges opened merge request.
- First commit to issue fork.
- @tgauges opened merge request.
- @tgauges opened merge request.
- ๐ฉ๐ชGermany tgauges
Changing the target branch of the merge request
- broke our build
- made the MR have 700+ commits and 1000+ changes
I created a new merge requests against 9.5.x: https://git.drupalcode.org/project/drupal/-/merge_requests/3687.
- ๐ฎ๐นItaly charly71
Patch #80 work for us with Drupal 9.5.8 not with 9.5.9
Patch #82 doesn't work at all... - ๐ช๐ธSpain rodrigoaguilera Barcelona
This issue should be fixed first for Drupal 10 and then backport if it applies.
I left some comments in the MR from #90. I think is the right approach.
Since the project where I need this is in Drupal 9.5.9 you can find attached the patch for convenience. The rebase is quite trivial.
- Status changed to Needs review
over 1 year ago 7:07am 4 May 2023 - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 30,286 pass, 18 fail The last submitted patch, 96: 3163299-96.patch, failed testing. View results โ
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 30,331 pass - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,377 pass, 1 fail - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - ๐บ๐ฆUkraine Taran2L Lviv
Arghhh, I think I have found source of the issue why tests are so unreliable, and its ๐ Cached forms can have duplicate HTML IDs, which disrupts accessible form labels Needs work .. I think the fix is correct, but the test is not due to issues with duplicate form CSS ids.
- last update
over 1 year ago 30,331 pass - last update
over 1 year ago 29,380 pass - ๐บ๐ธUnited States smustgrave
Can the issue summary be updated to include the proposed solution and any remaining tasks.
- Status changed to Needs work
over 1 year ago 10:46pm 6 May 2023 - last update
over 1 year ago Custom Commands Failed - ๐ช๐ธSpain unstatu
I have detected that the block preprocess functions are not triggered for the exposed filter blocks when using this patch.
The problem appears because of this file changes
--- a/core/modules/views/src/Plugin/Block/ViewsExposedFilterBlock.php +++ b/core/modules/views/src/Plugin/Block/ViewsExposedFilterBlock.php @@ -32,15 +32,17 @@ public function getCacheContexts() { * context of current view and display ID. */ public function build() { - $output = $this->view->display_handler->viewExposedFormBlocks() ?? []; + $output = []; + $build = $this->view->display_handler->viewExposedFormBlocks() ?? []; // Provide the context for block build and block view alter hooks. // \Drupal\views\Plugin\Block\ViewsBlock::build() adds the same context in // \Drupal\views\ViewExecutable::buildRenderable() using // \Drupal\views\Plugin\views\display\DisplayPluginBase::buildRenderable(). - if (!empty($output)) { + if (!empty($build)) { $output += [ '#view' => $this->view, '#display_id' => $this->displayID, + 'content' => $build, ]; }
It seems that adding the block render array inside the `content` key avoids to trigger the preprocess functions.
- Open on Drupal.org โEnvironment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - @tgauges opened merge request.
- last update
about 1 year ago Custom Commands Failed - ๐บ๐ธUnited States pyrello
pyrello โ changed the visibility of the branch 10.1.x to hidden.
- ๐บ๐ธUnited States pyrello
pyrello โ changed the visibility of the branch 11.x to hidden.
- Merge request !6791Issue #3163299: Ajax exposed filters not working for multiple instances of the same Views block placed on one page โ (Closed) created by pyrello
- ๐บ๐ธUnited States pyrello
pyrello โ changed the visibility of the branch 10.3.x to hidden.
- Merge request !6796Issue #3163299: Ajax exposed filters not working for multiple instances of the same Views block placed on one page โ (Open) created by pyrello
- ๐จ๐ฆCanada Liam Morland Ontario, CA ๐จ๐ฆ
There is no need to make a new merge request. You can force-push the branch of the existing merge request and it will use the new code. It will leave behind a tag pointing at the old code.
- ๐บ๐ธUnited States pyrello
@Liam Moreland Good to know. Not sure I would have figured that out on my own and I have yet to discover the docs indicating the proper workflow with MRs yet.
- ๐ซ๐ทFrance ericdsd France
Tested MR from #116 over core 10.3.5 on views embedded with viewsreference + viewsreference_filter + better_exposed_filter with success.
Thanks a lot ! - ๐ซ๐ทFrance ericdsd France
Uploading patch from MR 6796 #116 for core 10.3.5
- ๐ง๐ชBelgium BramDriesen Belgium ๐ง๐ช
I can confirm the latest patch also solved this issue for us.
- ๐บ๐ธUnited States smustgrave
Issue summary is still incomplete and there are multiple MRs but donโt appear to be one for 11.x