Revision 49550
Added by Konstantina Galouni over 6 years ago
organization.component.ts | ||
---|---|---|
20 | 20 |
import {ModalLoading} from '../../utils/modal/loading.component'; |
21 | 21 |
import {AlertModal} from '../../utils/modal/alert'; |
22 | 22 |
import {PiwikService} from '../../utils/piwik/piwik.service'; |
23 |
import {StringUtils} from '../../utils/string-utils.class'; |
|
23 | 24 |
|
24 | 25 |
@Component({ |
25 | 26 |
selector: 'organization', |
... | ... | |
315 | 316 |
let projects = []; |
316 | 317 |
let counter: number = count; |
317 | 318 |
let title: boolean = false; |
318 |
this.countProjectsSub = this._searchProjectsService.getProjectsForOrganizations(this.organizationId,' and (funder exact '+ funderId + ' ) ',1,count,[]).subscribe( |
|
319 |
|
|
320 |
this.countProjectsSub = this._searchProjectsService.getProjectsForOrganizations(this.organizationId,' and (funder exact "'+ funderId + '" ) ',1,count,[]).subscribe( |
|
319 | 321 |
data => |
320 | 322 |
{ |
321 | 323 |
projects = data[1]; |
... | ... | |
480 | 482 |
this.alertCsvError.okButtonText = "OK"; |
481 | 483 |
this.alertCsvError.open(); |
482 | 484 |
} |
485 |
|
|
486 |
encodeURI(input: string): string { |
|
487 |
return StringUtils.URIEncode(input); |
|
488 |
} |
|
483 | 489 |
} |
Also available in: Unified diff
'resultbestlicense' field of index renamed to 'resultbestaccessright' and 'bestlicense' field renamed to 'bestaccessright' | htmlProjectReport - project landing: fix query for research data tab in app box | Remove '-' when there are no unclassified subjects in landing pages | Similar Research Results and Related Research Results: case for software results added | Publication landing, Dataset landing, Software landing: 'collectedfrom' parsed through 'instance' field | Search Pages and project landing page: Alert when CSV download fails | Organization landing: encoding funder's info in queries