Fixes #10: Page size for pagination

This commit is contained in:
jendib 2015-05-01 19:44:20 +02:00
parent c283607063
commit a1af1f369f

View File

@ -48,7 +48,7 @@
</table>
<div class="text-center pagination-box">
<pagination total-items="totalDocuments" max-size="5" page="currentPage"></pagination>
<pagination total-items="totalDocuments" items-per-page="limit" max-size="5" page="currentPage"></pagination>
<label class="sr-only" for="pagesizeSelect">Page size</label>
<select ng-model="limit" id="pagesizeSelect" class="form-control">
<option value="10">10 per page</option>