We have a list of arguments in our view (ajax'ed):

Views Or: Begin alternatives
Content: Geography
Views Or: Next alternative
Content: Universe
Views Or: Next alternative
Content: Walk
Views Or: Next alternative
Balado Site: Coords
Views Or: End alternatives

We're passing arguments to views_embed_view, and then $view->args has the following structure

Array
(
   [0] => 18835+19611
   [1] => 38813
   [2] => 17108
   [3] => 48.4101,2.7031
)

When view appears first time - its ok.

If we're not using ajax for pagination - then its also ok.

But if we're using ajax pager, then arguments, that passed to pager become like this:

Array
(
   [0] =>
   [1] => 18835+19611
   [2] =>
   [3] => 38813
   [4] =>
   [5] => 17108
   [6] =>
   [7] => 48.4101,2.7031
   [8] =>
   [9] => 1
)

We've researched, that empty lines appears on the places of views_or alternatives.

Comments

akhodakovskiy’s picture

Up of the topic. Can somebody assist with this issue?

darren oh’s picture

Status: Active » Closed (duplicate)

Duplicate of issue 495726.

akhodakovskiy’s picture

Status: Closed (duplicate) » Active

After applying the latest patch pager started to work, but with strange behaviour:
when we go from page [1] to [2] - its okay
when we go from page [2] to any other - to all arguments after Next alternative that doesn't share arguments strange text is added in the link, so next page is broken. example:

...?page=2&view_name=...&view_display_id=block_1&view_args=/18835+19611/%252F41532/%252F48.3885,2.80696/&view_path=...&view_base_path=null&view_dom_id=1&pager_element=0

Can you please watch the issue?