Skip to content

Not fetching all models from collection #159

@dottodot

Description

@dottodot

In my Backbone Marionette app I'm adding items to the localstorage successfully but it's not returning all the models.

In my case an item is added to my cart collection and this takes you to the cart page which should list all the items in the cart. The first item added works but when a second item is added and you are taken to the cart only the latest one show.

This also only seems to happen when navigating to the cart page using a trigger, if I cmd + R refresh the page the full collection is returned.

Bit confused as to what is going on.

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