diff options
Diffstat (limited to 'web/src')
-rw-r--r-- | web/src/js/store/view.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/store/view.js b/web/src/js/store/view.js index 71b159bf..3ec337a1 100644 --- a/web/src/js/store/view.js +++ b/web/src/js/store/view.js @@ -60,7 +60,7 @@ _.extend(StoreView.prototype, EventEmitter.prototype, { this.emit("recalculate"); }, index: function (elem) { - return _.sortedIndex(this.list, elem, this.sortfun); + return _.sortedIndexBy(this.list, elem, this.sortfun); }, add: function (elem) { if (this.filt(elem)) { |