Skip to content

Commit e7027a2

Browse files
committed
[DSC-1864] Set encode param to false
1 parent c7d0a5c commit e7027a2

7 files changed

Lines changed: 11 additions & 11 deletions

src/app/core/openaire/broker/events/openaire-broker-event-rest.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ describe('OpenaireBrokerEventRestService', () => {
129129
it('should proxy the call to dataservice.searchBy', () => {
130130
const options: FindListOptions = {
131131
searchParams: [
132-
new RequestParam('topic', topic)
132+
new RequestParam('topic', topic, false)
133133
]
134134
};
135135
service.getEventsByTopic(topic);

src/app/core/openaire/broker/events/openaire-broker-event-rest.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class OpenaireBrokerEventRestService extends IdentifiableDataService<Open
7979
*/
8080
public getEventsByTopic(topic: string, options: FindListOptions = {}, ...linksToFollow: FollowLinkConfig<OpenaireBrokerEventObject>[]): Observable<RemoteData<PaginatedList<OpenaireBrokerEventObject>>> {
8181
options.searchParams = [
82-
new RequestParam('topic', topic),
82+
new RequestParam('topic', topic, false),
8383
];
8484
return this.searchData.searchBy('findByTopic', options, true, true, ...linksToFollow);
8585
}

src/app/core/openaire/reciter-suggestions/suggestions/quality-assurance-suggestion-data.service.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ describe('QualityAssuranceSuggestionDataService', () => {
121121
it('should proxy the call to searchData.searchBy', () => {
122122
const options: FindListOptions = {
123123
searchParams: [
124-
new RequestParam('target', target),
125-
new RequestParam('source', source)
124+
new RequestParam('target', target, false),
125+
new RequestParam('source', source, false)
126126
]
127127
};
128128

src/app/core/openaire/reciter-suggestions/suggestions/quality-assurance-suggestion-data.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ export class QualityAssuranceSuggestionDataService extends IdentifiableDataServi
117117
...linksToFollow: FollowLinkConfig<OpenaireSuggestion>[]
118118
): Observable<RemoteData<PaginatedList<OpenaireSuggestion>>> {
119119
options.searchParams = [
120-
new RequestParam('target', target),
121-
new RequestParam('source', source)
120+
new RequestParam('target', target, false),
121+
new RequestParam('source', source, false)
122122
];
123123

124124
return this.searchData.searchBy(this.searchFindByTargetAndSourceMethod, options, true, true, ...linksToFollow);

src/app/core/openaire/reciter-suggestions/targets/quality-assurance-suggestion-target-data.service.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ describe('QualityAssuranceSuggestionTargetDataService', () => {
118118
it('should proxy the call to searchData.searchBy', () => {
119119
const options: FindListOptions = {
120120
searchParams: [
121-
new RequestParam('source', openaireSuggestionTargetScopusOne.source)
121+
new RequestParam('source', openaireSuggestionTargetScopusOne.source, false)
122122
]
123123
};
124124
service.getTargetsBySource('scopus');
@@ -145,7 +145,7 @@ describe('QualityAssuranceSuggestionTargetDataService', () => {
145145
it('should proxy the call to searchData.searchBy', () => {
146146
const options: FindListOptions = {
147147
searchParams: [
148-
new RequestParam('target', 'gf3d657-9d6d-4a87-b905-fef0f8cae26')
148+
new RequestParam('target', 'gf3d657-9d6d-4a87-b905-fef0f8cae26', false)
149149
]
150150
};
151151
service.getTargetsByUser('gf3d657-9d6d-4a87-b905-fef0f8cae26');

src/app/core/openaire/reciter-suggestions/targets/quality-assurance-suggestion-target-data.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export class QualityAssuranceSuggestionTargetDataService extends IdentifiableDat
9191
reRequestOnStale = true,
9292
...linksToFollow: FollowLinkConfig<OpenaireSuggestionTarget>[]
9393
): Observable<RemoteData<PaginatedList<OpenaireSuggestionTarget>>> {
94-
options.searchParams = [new RequestParam('source', source)];
94+
options.searchParams = [new RequestParam('source', source, false)];
9595

9696
return this.searchData.searchBy(this.searchFindBySourceMethod, options, useCachedVersionIfAvailable, reRequestOnStale, ...linksToFollow);
9797
}
@@ -116,7 +116,7 @@ export class QualityAssuranceSuggestionTargetDataService extends IdentifiableDat
116116
reRequestOnStale = true,
117117
...linksToFollow: FollowLinkConfig<OpenaireSuggestionTarget>[]
118118
): Observable<RemoteData<PaginatedList<OpenaireSuggestionTarget>>> {
119-
options.searchParams = [new RequestParam('target', userId)];
119+
options.searchParams = [new RequestParam('target', userId, false)];
120120

121121
return this.searchData.searchBy(this.searchFindByTargetMethod, options, useCachedVersionIfAvailable, reRequestOnStale, ...linksToFollow);
122122
}

src/app/core/submission/edititem-data.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class EditItemDataService extends IdentifiableDataService<EditItem> {
5757
searchEditModesById(id: string, useCachedVersionIfAvailable = true, reRequestOnStale = true): Observable<RemoteData<PaginatedList<EditItemMode>>> {
5858
const options = new FindListOptions();
5959
options.searchParams = [
60-
new RequestParam('uuid', id),
60+
new RequestParam('uuid', id, false),
6161
];
6262
return this.searchData.searchBy(this.searchById, options, useCachedVersionIfAvailable, reRequestOnStale);
6363
}

0 commit comments

Comments
 (0)