Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
After updating views 7.x-3.14 -> Views load more pager not appending result to existing result.
Issue on Front page
Comment | File | Size | Author |
---|---|---|---|
#3 | views_load_more-load_more_does_not_append_new_content-2766721.patch | 1.75 KB | andyg5000 |
Comments
Comment #2
mattwith CreditAttribution: mattwith as a volunteer commentedThis looks like it's related to what's mentioned here: https://www.drupal.org/node/1482824#comment-11305131, which was introduced between Views `7.x-3.13` & `7.x-3.14`.
Applying https://www.drupal.org/node/2754601#comment-11329213 worked for us.
Comment #3
andyg5000We have the same issue and it appears to be related to the
content_query
value that is being constructed. This variable is used for.find()
calls on the DOM wrapper and the new content object. However, prepending the selector with "> " causesnew_content.find(content_query)
to be empty.Here's a patch that only prepends the parent selector (>) only for the DOM queries.
Bumping to critical since this appears to break the primary feature of the module.
This fixes our issue, but definitely needs review by someone more versed in jQuery.
Comment #4
andyg5000Ok, our issue is because we use Zurb Foundation and have put wrappers around our view. I also found #1919896: Does not work correctly with nested views which introduced the issue for us. We need to make sure that the fix for this issue doesn't re-introduce that one.
Comment #5
andyg5000... and our issue was related to #2544376: Won't load when 'theme_debug' variable is set to true, but there seems to be a common thread here. I'm closing this as a duplicate since they're are both caused by the default css selector that is used.