Skip to content

Commit

Permalink
fix(pagination): Fixes pagination total pages.
Browse files Browse the repository at this point in the history
- Pass expected size of results rather than count. This
  was causing the pagination directive to think more
  results could have been present still.

Closes #238
  • Loading branch information
Matthew Schranz committed Feb 2, 2015
1 parent 53a0de2 commit 308e921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/components/tables/templates/pagination.html
Expand Up @@ -45,7 +45,7 @@
<pagination boundary-links="true"
total-items="paging.total"
data-ng-model="paging.page"
items-per-page="paging.count"
items-per-page="paging.size"
class="pagination-sm pull-right"
data-ng-change="pc.refresh()"
num-pages="paging.pages"
Expand Down

0 comments on commit 308e921

Please sign in to comment.