mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
62589: Item-Mapper Requests responseMsToLive to 10s
This commit is contained in:
@@ -134,7 +134,7 @@ export class CollectionItemMapperComponent implements OnInit {
|
||||
scope: undefined,
|
||||
dsoType: DSpaceObjectType.ITEM,
|
||||
sort: this.defaultSortOptions
|
||||
}), 1000).pipe(
|
||||
}), 10000).pipe(
|
||||
toDSpaceObjectListRD(),
|
||||
startWith(undefined)
|
||||
);
|
||||
|
@@ -118,7 +118,7 @@ export class ItemCollectionMapperComponent implements OnInit {
|
||||
return this.searchService.search(Object.assign(new PaginatedSearchOptions(searchOptions), {
|
||||
query: this.buildQuery([...itemCollectionsRD.payload.page, owningCollectionRD.payload], searchOptions.query),
|
||||
dsoType: DSpaceObjectType.COLLECTION
|
||||
}), 1000).pipe(
|
||||
}), 10000).pipe(
|
||||
toDSpaceObjectListRD(),
|
||||
startWith(undefined)
|
||||
);
|
||||
|
@@ -190,7 +190,7 @@ export class BrowseItemsRequest extends GetRequest {
|
||||
* Request to fetch the mapped collections of an item
|
||||
*/
|
||||
export class MappedCollectionsRequest extends GetRequest {
|
||||
public responseMsToLive = 0;
|
||||
public responseMsToLive = 10000;
|
||||
|
||||
getResponseParser(): GenericConstructor<ResponseParsingService> {
|
||||
return MappedCollectionsReponseParsingService;
|
||||
|
Reference in New Issue
Block a user