From f904e8529bea2e8905b9c25113f5d108b92dbb81 Mon Sep 17 00:00:00 2001 From: Vivek Singh Date: Mon, 30 Sep 2024 15:57:33 +0530 Subject: [PATCH] #1524 - removed bindings as they are called explicitly. --- packages/openchs-android/src/service/IndividualService.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/openchs-android/src/service/IndividualService.js b/packages/openchs-android/src/service/IndividualService.js index 0c0b5bd30..e8c3a09c0 100644 --- a/packages/openchs-android/src/service/IndividualService.js +++ b/packages/openchs-android/src/service/IndividualService.js @@ -169,11 +169,9 @@ class IndividualService extends BaseService { this.allScheduledVisitsIn = this.allScheduledVisitsIn.bind(this); this.allOverdueVisitsIn = this.allOverdueVisitsIn.bind(this); this.recentlyRegistered = this.recentlyRegistered.bind(this); - this.recentlyRegisteredV2 = this.recentlyRegisteredV2.bind(this); this.recentlyCompletedVisitsIn = this.recentlyCompletedVisitsIn.bind(this); this.recentlyEnrolled = this.recentlyEnrolled.bind(this); this.allIn = this.allIn.bind(this); - this.allInV2 = this.allInV2.bind(this); this.dueChecklists = this.dueChecklists.bind(this); } @@ -598,7 +596,7 @@ class IndividualService extends BaseService { return filterSubjects(subjects, subjectCriteria, reportFilters, this.getService(CustomFilterService)); } - recentlyRegisteredV2(date, reportFilters, subjectCriteria, duration = new Duration(1, Duration.Day)) { + recentlyRegisteredV2(date, reportFilters, subjectCriteria, duration) { const {tillDate, fromDate} = getDateRange(date, duration); let subjects = this.db.objects(Individual.schema.name)