There seems to be a bit of a logical error in function views_savedsearches_save_search_form when assembling the redirect query string, in that each $v is assumed to be either a string or empty. In fact, for filters I'm using in my view, $v is quite often an array. So, I modified the code in this section as follows to account for that:
if ( drupal_strlen($k) > 0 ) {
if ( is_array($v) && !empty($v) ) {
foreach( $v as $choice ) {
if ( drupal_strlen($choice) > 0 ) {
$query[] = $k . '=' . $choice;
}
}
}
elseif ( drupal_strlen($v) > 0 ) {
$query[] = $k .'='. $v;
}
}
elsif ( drupal_strlen($v) > 0 ) {
$query[]= $v;
}
}
I've attached a patch for this.
Comments
Comment #1
lucascaro commentedcouldn't get the patch to work, had to apply manually, attached my version of the same patch.