diff --git a/frontend/src/app/shared/components/autocompleter/project-autocompleter/project-autocompleter.component.ts b/frontend/src/app/shared/components/autocompleter/project-autocompleter/project-autocompleter.component.ts index 08f8259f18..46401bac7d 100644 --- a/frontend/src/app/shared/components/autocompleter/project-autocompleter/project-autocompleter.component.ts +++ b/frontend/src/app/shared/components/autocompleter/project-autocompleter/project-autocompleter.component.ts @@ -187,7 +187,7 @@ export class ProjectAutocompleterComponent implements ControlValueAccessor { ...params, }; const collectionURL = `${listParamsString(fullParams)}&${url.searchParams.toString()}`; - url.searchParams.forEach((key) => url.searchParams.delete(key)); + url.search = ''; return this.http.get>(url.toString() + collectionURL); }, )