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

jurgenhaas’s picture

subscribe

Alice Heaton’s picture

@Padrehomer : Could you please provide a patch ? Thanks !

darren oh’s picture

Status: Active » Fixed

This was a bit more complicated because there can be more than one argument in each alternative. Fixed in CVS commit 249692.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.