fix #187: consider pagination enumerating tickets

This commit is contained in:
Davide Alberani 2017-09-16 20:35:40 +02:00
parent 5e0d2aa933
commit 305fea8a41
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@
</thead>
<tbody>
<tr ng-repeat="ticket in shownItems">
<td class="text-right">{{$index+1}}</td>
<td class="text-right">{{$index + 1 + ((currentPage-1)*itemsPerPage)}}</td>
<td>
<span>
<strong>

View file

@ -29,7 +29,7 @@
</thead>
<tbody>
<tr ng-repeat="ticket in shownItems">
<td class="text-right">{{$index+1}}</td>
<td class="text-right">{{$index + 1 + ((currentPage-1)*itemsPerPage)}}</td>
<td>
<span><strong><span>{{ticket.name}}</span>&nbsp;<span>{{ticket.surname}}</span></strong></span><span ng-if="ticket.email">&nbsp;&lt;{{ticket.email}}&gt;</span>
<p ng-if="ticket.company || ticket['job title']"><i ng-if="ticket['job title']">{{ticket['job title']}}</i><span ng-if="ticket.company && ticket['job title']">&nbsp;@&nbsp;</span><i ng-if="ticket.company">{{ticket.company}}</i></p>