summaryrefslogtreecommitdiffstats
path: root/templates/contactDetails.html
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-02 15:55:12 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-03 11:35:13 +0100
commit0b8fd6a0d33030f0719702b175883a71bb4c30a0 (patch)
tree99b208c89b0b7cbf3b9fae4188211b4ef4799781 /templates/contactDetails.html
parentd9a2d29cdf7b3b45ca45682902e49ec70f9f2775 (diff)
Order fields select
Diffstat (limited to 'templates/contactDetails.html')
-rw-r--r--templates/contactDetails.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/contactDetails.html b/templates/contactDetails.html
index 8e96a338..2ad2acb4 100644
--- a/templates/contactDetails.html
+++ b/templates/contactDetails.html
@@ -20,7 +20,7 @@
</div>
<select ng-model="field" ng-change="ctrl.addField(field)">
<option value=''>{{ctrl.t.selectField}}</option>
- <option ng-repeat="field in ctrl.fieldDefinitions" value="{{field.id}}">{{field.name}}</option>
+ <option ng-repeat="field in ctrl.fieldDefinitions | orderBy : 'name'" value="{{field.id}}">{{field.name}}</option>
</select>
</section>
</div>