summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-10-27 17:38:54 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-10-27 17:38:54 +0200
commit427477199fbb95fefa8f9027bd18bb6550669f47 (patch)
tree5bed247ef8405b54128dc7d346f9823b05120309 /templates
parent386bb10929c104b3c10b7efccb0ac7bfa1069c00 (diff)
Simplify sort options by directly passing the key toSortBy priorities
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/contactList.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/contactList.html b/templates/contactList.html
index 0d7693f3..f5f7da06 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, 'uid'] | 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 | 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()}">