Skip to content

Commit

Permalink
Merge pull request #562 from aranaravi/develop
Browse files Browse the repository at this point in the history
[MOSIP-29921]Capture the missed event logs in view history page
  • Loading branch information
aranaravi authored Oct 31, 2023
2 parents 945f0a4 + 3d23eeb commit c3f0781
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,12 @@ export class ViewhistoryComponent implements OnInit, OnDestroy {
capturePageValue(pageEvent: any) {
let searchParam = "",
self = this;
if(pageEvent.pageIndex > this.pageIndex) {
this.auditService.audit('RP-011', 'View history', 'RP-View history', 'View history', 'User clicks on next page in pagination');
}
if(pageEvent.pageSize != this.pageSize){
this.auditService.audit('RP-012', 'View history', 'RP-View history', 'View history', 'User chooses the number of items to be shown on each page from drop-down');
}
this.controlTypes.forEach(controlType => {
if (self[controlType]) {
if (searchParam) {
Expand Down

0 comments on commit c3f0781

Please sign in to comment.