summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-04-20 22:31:58 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-04-20 22:31:58 +0200
commit7005470a7f08f26464f7bff053a210b734de8622 (patch)
treebef8f012c0631c52de963f7b96c7ab63555581c3 /templates
parenta4fe8a06a814a216a20e8c861ada446f45a7ffbc (diff)
Sort contact list with respect to the locale - fixes #376
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 f3b0150f..5245133e 100644
--- a/templates/contactList.html
+++ b/templates/contactList.html
@@ -2,7 +2,7 @@
<button ng-show="!ctrl.loading && !ctrl.invalid" class="app-content-list-button" id="new-contact-button"
type="button" name="button" ng-click="ctrl.createContact()">{{ctrl.t.addContact}}</button>
<div class="app-content-list-item"
- ng-repeat="contact in ctrl.contactList = (ctrl.contacts | contactGroupFilter:ctrl.routeParams.gid | orderBy:'displayName()' | filter:query) track by contact.uid()"
+ ng-repeat="contact in ctrl.contactList = (ctrl.contacts | contactGroupFilter:ctrl.routeParams.gid | localeOrderBy:'displayName()' | filter:query) track by contact.uid()"
contact data="contact"
ng-click="setSelected(contact.uid())"
ng-class="{active: contact.uid() === ctrl.getSelectedId()}">