Show all contacts when inbox is empty

This commit is contained in:
lilia 2015-11-27 16:11:42 -08:00
parent 152f59cc95
commit 7bf94c33d5
4 changed files with 27 additions and 3 deletions

View file

@ -395,6 +395,17 @@
}
},
fetchAlphabetical: function() {
return new Promise(function(resolve) {
this.fetch({
index: {
name: 'search', // 'search' index on tokens array
},
limit: 100
}).always(resolve);
}.bind(this));
},
fetchGroups: function(number) {
return this.fetch({
index: {