Skip to content

Commit

Permalink
Merge branch 'fix-scope-issues-on-search-form_contribute-7.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrevryghem committed Nov 25, 2024
2 parents 7817b83 + e4daf2b commit 5451c70
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 5451c70

Please sign in to comment.