Skip to content

Commit

Permalink
RC #293 - Updating BaseService to handle array parameters for "projec…
Browse files Browse the repository at this point in the history
…t_ids"
  • Loading branch information
dleadbetter committed Jul 28, 2024
1 parent cf205d5 commit d69c32b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/core-data/src/services/BaseService.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// @flow

import _ from 'underscore';
import Api from '../utils/Api';

class BaseService {
Expand Down Expand Up @@ -172,8 +173,8 @@ class BaseService {
*/
getSearchParams(params) {
return {
project_ids: this.projectIds,
...params
...params,
'project_ids[]': this.projectIds
};
}
}
Expand Down

0 comments on commit d69c32b

Please sign in to comment.