Member list ordered by last name

This commit is contained in:
HooVee
2016-08-15 22:25:10 +03:00
parent 6670d214bf
commit 0b321de199
+3 -3
View File
@@ -3,8 +3,8 @@
<table id="choose-address-table" class="table table-striped">
<thead>
<tr class="ui-widget-header">
<th>Etunimi</th>
<th>Sukunimi</th>
<th>Etunimi</th>
<th>Sähköposti</th>
<th>AYY-jäsen</th>
<th>JAS-listalla</th>
@@ -12,9 +12,9 @@
</tr>
</thead>
<tbody>
<tr ng-repeat="x in members">
<td>{{ x.first_name }}</td>
<tr ng-repeat="x in members | orderBy: 'last_name'">
<td>{{ x.last_name }}</td>
<td>{{ x.first_name }}</td>
<td>{{ x.email }}</td>
<td>{{ x.AYY }}</td>
<td>{{ x.jas }}</td>