Skip to content

Resthub.View invalid render behaviour using Paginator #146

@artemenko89

Description

@artemenko89

When we use Backbone collection with Backbone Paginator we don't initialise each time:
https://github.com/resthub/resthub-backbone-stack/blob/master/js/lib/resthub/resthub.js
line: 498-516 - we just extend existing context.
For example if we had 7 items in collection, but we got 1 from response ( use {reset: true} in fetch) - it just replace 1 first item with new data. It should rewrite data or check for strategy of fetching.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions