mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 10:34:15 +00:00
55693: TODO location query
This commit is contained in:
@@ -96,9 +96,11 @@ export class CollectionItemMapperComponent implements OnInit {
|
|||||||
}))
|
}))
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
this.mappingItemsRD$ = this.searchOptions$.pipe(
|
this.mappingItemsRD$ = collectionAndOptions$.pipe(
|
||||||
flatMap((options: PaginatedSearchOptions) => {
|
switchMap(([collectionRD, options]) => {
|
||||||
return this.searchService.search(Object.assign(options, {
|
return this.searchService.search(Object.assign(options, {
|
||||||
|
// TODO: Exclude items already mapped to collection without overwriting search query
|
||||||
|
// query: `-location.coll:\"${collectionRD.payload.id}\"`,
|
||||||
scope: undefined,
|
scope: undefined,
|
||||||
dsoType: DSpaceObjectType.ITEM,
|
dsoType: DSpaceObjectType.ITEM,
|
||||||
sort: this.defaultSortOptions
|
sort: this.defaultSortOptions
|
||||||
|
Reference in New Issue
Block a user