Member list ordered by last name
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user