Closed (fixed)
Project:
Views Infinite Scroll
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 May 2018 at 21:40 UTC
Updated:
23 Mar 2022 at 12:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
drclaw commentedHere's a patch that adds an option to toggle the described functionality in the IS.
Comment #4
drclaw commentedLet's try this one...
Comment #5
drclaw commentedAnd one for the 8.x-1.5 people out there
Comment #6
drclaw commentedAnd here's one for 8.x-1.5 that doesn't break you site :/
Comment #7
divined commented#6
it does not work. Aplied but nothing happens.
Loads last page items only, All previous are missing.
Comment #8
drclaw commentedDid you enable the setting on the view?
Comment #9
semanthis commentedI would desperately need something like this for D7. Anyone a idea where to start. Thanks!
Comment #10
drclaw commented@semanthis Try Views Load More with this patch maybe? https://www.drupal.org/project/views_load_more/issues/2760451
Comment #11
ras-ben commented#6 is brilliant - exactly what I needed and it works great
Karma for actually taking the time to make a real setting within the view UI too!
Comment #12
ras-ben commentedComment #13
honza pobořil commentedNeeds reroll.
Comment #14
biguzis commentedRerolled.
Comment #15
xaa commentedPatch #14 is working fine here. Thank you @biguzis, @drclaw.
If nothing happens (#7), don't forget the new checkbox in the view settings "Initially load all pages up to the reuqested page".
Maybe still need a bit of work on the description (quite long right now): "When initially loading a page beyond the first, this option will load all pages up to the requested page instead of just the requested page. So, if you have the pager set to 10 items per page, and you load the page with ?page=2 in the url, you will get page 0, 1 and 2 loaded for a total of 30 items. Note that this could cause some long page load times when loading many pages"
Comment #16
neslee canil pintoEverything looks fine and good, only change can we make a short and sweet description.
Comment #18
neslee canil pintoCommitted, Thanks everyone. This will be a good feature to have
Comment #19
YurkinPark commentedNo ajax?
Comment #21
pratip.ghosh commentedI have a question somewhat similar to #19, why is the feature explicitly excluded for AJAX requests?
I can give a specific scenario here. Suppose I want to load a infinite scroll view via ajax upto a certain page. Due to this check it ignores this case. Is there a way to overcome this?