mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Fixed issue with search requests that weren't fetched again after entry cache was expired
This commit is contained in:
@@ -342,7 +342,7 @@ export abstract class DataService<T extends CacheableObject> {
|
||||
return hrefObs.pipe(
|
||||
find((href: string) => hasValue(href)),
|
||||
tap((href: string) => {
|
||||
this.requestService.removeByHrefSubstring(href);
|
||||
this.requestService.removeByHrefSubstring(searchMethod);
|
||||
const request = new FindListRequest(this.requestService.generateRequestId(), href, options);
|
||||
if (hasValue(this.responseMsToLive)) {
|
||||
request.responseMsToLive = this.responseMsToLive;
|
||||
|
Reference in New Issue
Block a user