Skip to content

Commit

Permalink
Prevent modifying args.defaultQueryOptions when adding filters (#2382)
Browse files Browse the repository at this point in the history
  • Loading branch information
futa-ikeda authored Nov 7, 2024
1 parent 4320073 commit 10140b7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export default class InstitutionalObjectList extends Component<InstitutionalObje

get queryOptions() {
const options = {
... this.args.defaultQueryOptions,
cardSearchFilter: {
...this.args.defaultQueryOptions.cardSearchFilter,
},
'page[cursor]': this.page,
'page[size]': 10,
sort: this.sort,
Expand Down

0 comments on commit 10140b7

Please sign in to comment.