backbone.collectionsubset icon indicating copy to clipboard operation
backbone.collectionsubset copied to clipboard

Subset with Comparators

Open chiplay opened this issue 11 years ago • 2 comments

Would be great to include the ability to add comparators while creating subsets:

App.Collections.entriesByTitle = App.Collections.allEntries.subcollection({
  filter: function(task) {
    return task;
  },
  comparator: sortByTitle
});

chiplay avatar Apr 10 '13 21:04 chiplay

I implemented it in my own fork:

https://github.com/zawaideh/backbone.collectionsubset

zawaideh avatar Dec 05 '13 20:12 zawaideh

I'd HIGHLY recommend https://github.com/dhruvaray/backbone-associations

chiplay avatar Dec 06 '13 18:12 chiplay