Skip to content

increment_by Not Being Updated & Causing Duplicate Data #2

@kmgdevelopment

Description

@kmgdevelopment

I saw in the comments of your initial blog post that you're already aware of this issue - just wanted to see if you've made any progress.

I have infinite scroll set up and working with my EE templates with an increment of 6. After the first 6 entries are loaded via ajax, the next 6 are duplicates of the previous 6. This leads me to believe that the line of javascript near the end of your example for increasing the current_index increment counter isn't working.

Something else I noticed was that the ajax seems to be fired multiple times at once. When I scroll past the initial group of entries and trigger the ajax, it loads 12 entries rather than just 6.

Please let me know if you'd like me to post any of my code. I'm using this with jQuery 1.7.2 and Endless Scroll 1.3.1, and it is happening in all browsers. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions