Commits

Giuseppe Digilio authored 73c60e3eef1
[CST-5307] disable cache when lookup for profile to claim
No tags

src/app/profile-page/profile-claim/profile-claim.service.ts

Modified
54 54 *
55 55 * @param query the query for the search
56 56 */
57 57 private lookup(query: string): Observable<RemoteData<SearchObjects<DSpaceObject>>> {
58 58 if (isEmpty(query)) {
59 59 return of(createNoContentRemoteDataObject() as RemoteData<SearchObjects<DSpaceObject>>);
60 60 }
61 61 return this.searchService.search(new PaginatedSearchOptions({
62 62 configuration: 'eperson_claims',
63 63 query: query
64 - }));
64 + }), null, false, true);
65 65 }
66 66
67 67 /**
68 68 * Return the search query for person lookup, from the given eperson
69 69 *
70 70 * @param eperson The eperson to use for the lookup
71 71 */
72 72 private personQueryData(eperson: EPerson): string {
73 73 if (eperson && eperson.email) {
74 74 return 'person.email:' + eperson.email;

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut