Page numbers are not displayed correctly when we have multiple pagination using pagination-template
=======
Angular version: "15.0.0"
ngx-pagination version: "6.0.3",
Description of issue: Page numbers are not displayed correctly when we have multiple pagination using pagination-template
Expected result: show page numbers based on total Item count for two different collections
Actual result: does not show page number correctly
Demo: this StackBlitz demo
https://angular-q8m7bn.stackblitz.io https://stackblitz.com/edit/angular-sftrpe?file=app%2Fapp.component.ts Any relevant code:
You are using the same reference #p for both template. I think you should try to make two separate references.
https://stackblitz.com/edit/angular-ehrlt2?file=app%2Fapp.component.html,app%2Fapp.component.ts
Here is a working version using separate reference for each.