jmorrell / backbone.obscura

A read-only proxy of a Backbone.Collection that can be filtered, sorted, and paginated.
http://jmorrell.github.io/backbone.obscura/
MIT License
107 stars 19 forks source link

Doesn't update when original collection is sorted #7

Closed jmorrell closed 10 years ago

jmorrell commented 10 years ago

As pointed out in this comment: https://github.com/jmorrell/backbone-paginated-collection/commit/86ef13504aa77d1c91c01af151f4b3a56e632a30#commitcomment-4475558

Calling .sort() on the original function should update the proxy.

jmorrell commented 10 years ago

Fixed with this commit: https://github.com/jmorrell/backbone.obscura/commit/67eb825fdd6973cd1b717dbb8d8b5e988a79f445