Skip to content

Commit

Permalink
Merge pull request #140 from Sohith-code/cbrelease-4.8.20-custom-regi…
Browse files Browse the repository at this point in the history
…stration-sohith

Pagination on organization fix
  • Loading branch information
sureshece16 authored Dec 26, 2024
2 parents fe0f5d2 + e95a6b1 commit 17d30da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ export class DirectoryViewComponent implements OnInit {
}
onPageChange(event: any) {
if (event) {
this.pagination.offset = event.pageIndex
this.pagination.limit = event.pageSize
this.pagination.offset = (event.pageIndex) * event.pageSize
this.getAllDepartments('')
}
}
Expand Down

0 comments on commit 17d30da

Please sign in to comment.