We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60208f4 commit 4e4757eCopy full SHA for 4e4757e
2 files changed
src/cohort/cohort.service.ts
@@ -1103,7 +1103,7 @@ export class CohortService {
1103
// Pass fieldId to getSearchFieldValueData
1104
let filledValues = await this.fieldsService.getSearchFieldValueData(
1105
0,
1106
- "0",
+ 0,
1107
{
1108
fieldId: fieldId,
1109
value: value
src/fields/fields.service.ts
@@ -970,7 +970,7 @@ export class FieldsService {
970
971
async getSearchFieldValueData(
972
offset: number,
973
- limit: string,
+ limit: number,
974
searchData: any
975
) {
976
@@ -990,7 +990,7 @@ export class FieldsService {
990
}
991
992
if (limit !== undefined) {
993
- queryOptions.take = parseInt(limit);
+ queryOptions.take = (limit);
994
995
try {
996
const [results, totalCount] =
0 commit comments