Skip to content

Commit

Permalink
Remove limit and fix reviewed clients filters
Browse files Browse the repository at this point in the history
  • Loading branch information
drizzentic committed Apr 13, 2023
1 parent 33811e0 commit 05e7e25
Showing 1 changed file with 6 additions and 29 deletions.
35 changes: 6 additions & 29 deletions app/family-history/family-history.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,12 +426,7 @@ export class FamilyTestingService {
break;
}

sql +=
columns +
from +
w +
' group by tx.person_id LIMIT 2000 OFFSET ' +
params.startIndex;
sql += columns + from + w + ' group by tx.person_id';
return sql;
}

Expand All @@ -455,12 +450,7 @@ export class FamilyTestingService {
break;
}

sql +=
columns +
from +
w +
' group by tx.person_id LIMIT 2000 OFFSET ' +
params.startIndex;
sql += columns + from + w + ' group by tx.person_id';

return sql;
}
Expand Down Expand Up @@ -488,16 +478,12 @@ export class FamilyTestingService {
break;
}

sql +=
columns +
w +
' group by tx.person_id LIMIT 2000 OFFSET ' +
params.startIndex;
sql += columns + from + w + ' group by tx.person_id';

return sql;
}

revießwedWithChildren(params, sql, columns, from, where) {
reviewedWithChildren(params, sql, columns, from, where) {
let w =
where +
` and t8.location_id in (${params.locations})
Expand All @@ -520,12 +506,7 @@ export class FamilyTestingService {
break;
}

sql +=
columns +
from +
w +
' group by tx.person_id LIMIT 2000 OFFSET ' +
params.startIndex;
sql += columns + from + w + ' group by tx.person_id';

return sql;
}
Expand Down Expand Up @@ -554,11 +535,7 @@ export class FamilyTestingService {
break;
}

sql +=
columns +
w +
' group by tx.person_id LIMIT 2000 OFFSET ' +
params.startIndex;
sql += columns + from + w + ' group by tx.person_id';

return sql;
}
Expand Down

0 comments on commit 05e7e25

Please sign in to comment.