Sort contacts by name in compose flow
This commit is contained in:
parent
6d81011f6a
commit
80ce2d95e0
1 changed files with 3 additions and 1 deletions
|
@ -48,7 +48,9 @@ var Whisper = Whisper || {};
|
||||||
|
|
||||||
this.typeahead_collection = new typeahead();
|
this.typeahead_collection = new typeahead();
|
||||||
this.typeahead_view = new Whisper.ConversationListView({
|
this.typeahead_view = new Whisper.ConversationListView({
|
||||||
collection : new Whisper.ConversationCollection(),
|
collection : new (Whisper.ConversationCollection.extend({
|
||||||
|
comparator: 'name'
|
||||||
|
}))(),
|
||||||
className: 'typeahead'
|
className: 'typeahead'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue