The issue: when using "load more" as the pager on a nested/embedded view, the content is replaced and not added to the view.

This has been an issue for the Drupal 7 version of the module and seems to persist into D8.
D7 ticket: https://www.drupal.org/node/2736419

We have tested with various combinations of Ajax being turned on/off on the parent and embedded views display, with no joy.

CommentFileSizeAuthor
#6 2853524-6.patch1.69 KBmalcolm_p
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Inky3d created an issue. See original summary.

blazey’s picture

Status: Active » Needs review

I think it's a core issue. Pagers in embedded views are initialized in the context of the parent view. This patch fixed it for me.

ckaotik’s picture

Status: Needs review » Needs work

So for anyone else wondering, the mentioned patch did not help in my case. To get this (somewhat) working I had to ...

But even then VIS would not join two html list items together, but that is a different topic.
Changed to NW because we can't review if there's no patch.

malcolm_p’s picture

malcolm_p’s picture

FileSize
1.69 KB

In addition to the patch in #2858890 I actually needed to adjust the selectors to not find the pagers in the nested views.

zenimagine’s picture

The #6 patch does not work. I am on Drupal 8.5.5 and version 8.x-1.x-dev of the module.

I hope this problem will be solved quickly because it lasts a long time.

handkerchief’s picture

Any news?

handkerchief’s picture

Version: 8.x-1.3 » 8.x-1.6

With 8.7.7 an this patch: https://www.drupal.org/project/drupal/issues/2858890#comment-13322235
...it works for me without additional patch like #6

Anybody’s picture

Is this a duplicate perhaps and one of them should be closed? #2918352: After update to Drupal 8.4 VIC replace results instead of appending What about the patch over there?

Anybody’s picture

Anybody’s picture