Skip to content

Commit

Permalink
#1524 - removed bindings as they are called explicitly.
Browse files Browse the repository at this point in the history
  • Loading branch information
petmongrels committed Sep 30, 2024
1 parent a2bc5c5 commit f904e85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/openchs-android/src/service/IndividualService.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit f904e85

Please sign in to comment.