I was having the issue where I had more than one Next Alternative in a set and was passing "Share arguments" in all of them. What was happening was on the 2nd through nth next alternatives, the argument array was accumulating elements and not doing array_slice correctly, passing 0 for the offset and 0 for the limit.
So in views_or_handler_argument line 209-212 I have substituted the following code, which seems to work for me:
if ($this->options['share_arguments']) {
$count = count($this->view->args);
array_splice($this->view->args, $this->position, 0, array_slice($this->view->args, $count - 3, 2));
}
Comments
Comment #1
jurgenhaassubscribe
Comment #2
Alice Heaton commented@Padrehomer : Could you please provide a patch ? Thanks !
Comment #3
darren ohThis was a bit more complicated because there can be more than one argument in each alternative. Fixed in CVS commit 249692.