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.
I have tried to add an extra value to the query string on submit.
Purpose is to pass through information that was already in de query string for other reasons.
In the search form for example you can do this
function search_form_alter_submit($form, &$form_state) {
$path = $form_state['redirect'];
$options = array(
'query' => array(
'partner' =>$partner,
)
);
drupal_goto($path, $options);
}
Is there a solution for exposed filters by which I can achieve the same result?
Thanks in advance for any help on this!
Ellis
Comments
Comment #1
jpstrikesback CreditAttribution: jpstrikesback commentedIf you're up for adding a handler to do your bidding see the issue I just posted here #1844068: Added Filter Views Term Family for one way using exposed_validate(). I'm posting here cause my question is one of "is adding items in exposed_validate() the right way" and I'd love to hear of any better ways.
Comment #2
MustangGB CreditAttribution: MustangGB commented