diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-20 22:31:58 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-20 22:31:58 +0200 |
commit | 7005470a7f08f26464f7bff053a210b734de8622 (patch) | |
tree | bef8f012c0631c52de963f7b96c7ab63555581c3 /templates | |
parent | a4fe8a06a814a216a20e8c861ada446f45a7ffbc (diff) |
Sort contact list with respect to the locale - fixes #376
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 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()}"> |