Merge pull request #11033 from opf/fix/42965-project-select-search-param-merge

Fix search params in project autocompleter
pull/11043/head
Henriette Darge 2 years ago committed by GitHub
commit 010bdcf745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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<IHALCollection<IProject>>(url.toString() + collectionURL);
},
)

Loading…
Cancel
Save