michaelbromley / michaelbromley/angularUtils
dirPagination: repeating on object has least items on first page rather than last
- Dominant language
- JavaScript
- Stars
- 2k
- Forks
- 842
- PR merge metrics
- No merged PRs in 30d
Description
**Description of issue**: When I use dir-paginate on an object, the pagination works but the first page has the least amount of items, rather than the last page. Version 0.11.1

Any relevant code:
example.html
```
Last Name
First Name
YOG
Enroll
{{student.lastName}}
{{student.firstName}}
{{student.yog}}
Enroll
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the example.html snippet and reproduce the behavior using dir-paginate on the students object with itemsPerPage:10. Inspect the dir-paginate pagination path to determine why the first page receives the fewest items. Done means the first page is full when enough items exist and only the final page has fewer items.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angularjs, javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100