diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-10-26 10:42:01 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-10-26 10:42:01 +0200 |
commit | b8298d74890d676ab5b41914de7472c0ad91823b (patch) | |
tree | 9717a8df1aec4a7e209d6327f6267bfbfaf73f01 /templates | |
parent | 86189b0fd93299297993db7ba047ba27c28f9805 (diff) |
Fallback to uid sorting
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/contactList.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/contactList.html b/templates/contactList.html index 1cac2f0d..0d7693f3 100644 --- a/templates/contactList.html +++ b/templates/contactList.html @@ -1,6 +1,6 @@ <div class="contacts-list" ng-class="{loading: ctrl.loading, 'mobile-show': ctrl.show}"> <div class="app-content-list-item" - ng-repeat="contact in ctrl.filteredContacts = (ctrl.contactList | contactGroupFilter:ctrl.routeParams.gid | localeOrderBy:ctrl.sortBy | filter:query | limitTo:ctrl.limitTo) as filtered track by contact.uid()" + ng-repeat="contact in ctrl.filteredContacts = (ctrl.contactList | contactGroupFilter:ctrl.routeParams.gid | localeOrderBy: [ctrl.sortBy, 'uid'] | filter:query | limitTo:ctrl.limitTo ) as filtered track by contact.uid()" contact data="contact" ng-click="setSelected(contact.uid())" ng-class="{active: contact.uid() === ctrl.getSelectedId()}"> |