Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
#2335659: Remove FormState ArrayAccess usage from core broke this so ManyToOneHelper valueForm is shown when a ManyToOne filter is exposed.
+++ b/core/modules/views/src/Plugin/views/filter/ManyToOne.php
@@ -111,7 +111,7 @@ function operators() {
- if (empty($form_state['exposed'])) {
+ if ($form_state->get('exposed')) {
E.g. if this is checked and you try to reset the exposed form filters, you will get a redirect loop.
Proposed resolution
Fix it
Remaining tasks
User interface changes
No more:
API changes
None
Comment | File | Size | Author |
---|---|---|---|
#1 | 2337897-PASS.patch | 1.64 KB | damiankloip |
#1 | 2337897-tests-only-FAIL.patch | 1.06 KB | damiankloip |
People___d8-dev.png | 130.14 KB | damiankloip |
Comments
Comment #1
damiankloip CreditAttribution: damiankloip commentedComment #2
damiankloip CreditAttribution: damiankloip commentedComment #3
dawehnerOOH
Comment #5
damiankloip CreditAttribution: damiankloip commentedComment #6
alexpottCommitted 22c1362 and pushed to 8.0.x. Thanks!