Skip to content

Commit

Permalink
Merge remote-tracking branch 'alex/fix-scope-issues-on-search-form_co…
Browse files Browse the repository at this point in the history
…ntribute-7.6' into w2p-121534_removed-metadata-export-search-request-for-non-admins-on-search_contribute-main
  • Loading branch information
alexandrevryghem committed Nov 25, 2024
2 parents 2011aee + e4daf2b commit feceb21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class SearchFacetFilterComponent implements OnInit, OnDestroy {
this.currentUrl = this.router.url;
this.currentPage = this.getCurrentPage().pipe(distinctUntilChanged());
this.searchOptions$ = this.searchConfigService.searchOptions.pipe(
map((options: SearchOptions) => hasNoValue(this.scope) ? options : Object.assign({}, options, {
map((options: SearchOptions) => hasNoValue(this.scope) ? options : Object.assign(new SearchOptions(options), {
scope: this.scope,
})),
);
Expand Down

0 comments on commit feceb21

Please sign in to comment.