Skip to content

Commit c00ab39

Browse files
alisaismailatisteph-ieffam
authored andcommitted
Merged in DSC-1073-to-cris-2023-02-x (pull request DSpace#1232)
[DSC-1073] specify the communityorCollection discovery configuration on item-collection mapper Approved-by: Stefano Maffei
2 parents f1227c3 + a392c37 commit c00ab39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/item-page/edit-item-page/item-collection-mapper/item-collection-mapper.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ export class ItemCollectionMapperComponent implements OnInit {
148148
switchMap(([itemCollectionsRD, owningCollectionRD, searchOptions]) => {
149149
return this.searchService.search(Object.assign(new PaginatedSearchOptions(searchOptions), {
150150
query: this.buildQuery([...itemCollectionsRD.payload.page, owningCollectionRD.payload], searchOptions.query),
151-
dsoTypes: [DSpaceObjectType.COLLECTION]
151+
dsoTypes: [DSpaceObjectType.COLLECTION],
152+
configuration: 'communityorCollection',
152153
}), 10000).pipe(
153154
toDSpaceObjectListRD(),
154155
startWith(undefined)

0 commit comments

Comments
 (0)