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
We noticed with a multi-select global filter block in a panel, the submit handler global_filter_set_form_on_session
ran to late and other parts of the page would have loaded with the wrong values.
Proposed resolution
Capture the POSTed values in the _init()
hook like single values are collected.
Comment | File | Size | Author |
---|---|---|---|
#4 | interdiff.txt | 1.02 KB | joelpittet |
#4 | issue_with_multiple-2766607-4.patch | 861 bytes | joelpittet |
#2 | issue_with_multiple-2766607-2.patch | 666 bytes | joelpittet |
Comments
Comment #2
joelpittetComment #3
gapple+1
Comment #4
joelpittetThanks @gapple, I ran into this exact same bug with single values too.
Here's a new patch to address both code paths.