Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

fetch add calls require additional parameters under 0.9.9 #2008

Closed
kpdecker opened this Issue · 0 comments

2 participants

Kevin Decker Casey Foster
Kevin Decker

Under 0.9.2 this call worked as a ajax+append data:

this.fetch({
  add: true,
  success: callback
});

After upgrading to 0.9.9 this started failing, causing the entire collection's contents to be replaced with the secondary fetch's contents.

There is a workaround

this.fetch({
  add: true,
  update: true,
  remove: false,
  success: callback
});

But the comments still lead one to believe that add is the only field required to append data to the collection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.