fetch add calls require additional parameters under 0.9.9 #2008

Closed
kpdecker opened this Issue Dec 22, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

kpdecker commented Dec 22, 2012

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