Sort contact selector by title

pull/749/head
lilia 10 years ago
parent 51dd287b60
commit acc2c6f536

@ -45,9 +45,9 @@ var Whisper = Whisper || {};
this.typeahead_collection = new typeahead();
this.typeahead_view = new Whisper.ConversationListView({
collection : new (Whisper.ConversationCollection.extend({
comparator: 'name'
}))(),
collection : new Whisper.ConversationCollection({
comparator: function(m) { return m.getTitle(); }
}),
className: 'typeahead'
});

Loading…
Cancel
Save