From d69c32b529f760bd83282119a96a62dde5a0faf4 Mon Sep 17 00:00:00 2001 From: dleadbetter Date: Sun, 28 Jul 2024 09:15:26 -0400 Subject: [PATCH] RC #293 - Updating BaseService to handle array parameters for "project_ids" --- packages/core-data/src/services/BaseService.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/core-data/src/services/BaseService.js b/packages/core-data/src/services/BaseService.js index ad18467f..6e30c317 100644 --- a/packages/core-data/src/services/BaseService.js +++ b/packages/core-data/src/services/BaseService.js @@ -1,5 +1,6 @@ // @flow +import _ from 'underscore'; import Api from '../utils/Api'; class BaseService { @@ -172,8 +173,8 @@ class BaseService { */ getSearchParams(params) { return { - project_ids: this.projectIds, - ...params + ...params, + 'project_ids[]': this.projectIds }; } }