Issue with indexing of current page in currentPageReport #7684
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ...
Plunkr Case (Bug Reports)
https://github-47e8gw.stackblitz.io
Current behavior
When displaying the pageReport the current page index is 0 based.
Expected behavior
My suggestion is to use 1 based indexing for the current page value.
Minimal reproduction of the problem with instructions
https://github-47e8gw.stackblitz.io
What is the motivation / use case for changing the behavior?
I want to use the pagination report. This happens for independently defined paginator and included paginators aswell.
Please tell us about your environment:
Angular version: 8.0.0-beta.12
PrimeNG version: 7.1.2
Browser: [all]
Language: [all]
The text was updated successfully, but these errors were encountered: