Skip to content

Commit feceb21

Browse files
Merge remote-tracking branch 'alex/fix-scope-issues-on-search-form_contribute-7.6' into w2p-121534_removed-metadata-export-search-request-for-non-admins-on-search_contribute-main
2 parents 2011aee + e4daf2b commit feceb21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/shared/search/search-filters/search-filter/search-facet-filter/search-facet-filter.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export class SearchFacetFilterComponent implements OnInit, OnDestroy {
160160
this.currentUrl = this.router.url;
161161
this.currentPage = this.getCurrentPage().pipe(distinctUntilChanged());
162162
this.searchOptions$ = this.searchConfigService.searchOptions.pipe(
163-
map((options: SearchOptions) => hasNoValue(this.scope) ? options : Object.assign({}, options, {
163+
map((options: SearchOptions) => hasNoValue(this.scope) ? options : Object.assign(new SearchOptions(options), {
164164
scope: this.scope,
165165
})),
166166
);

0 commit comments

Comments
 (0)