Project landing page: Small bug fixed in displaying image in title | searchDataproviders.service: searchCompatibleDataprovidersTable & searchEntityRegistriesTable & searchJournalsTable -> size=0 since the request is to get total number (not results)
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@47861 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
a894909968
commit
a75ca69828
|
@ -7,11 +7,11 @@
|
|||
<div class="uk-width-3-4@l uk-width-3-4@xl uk-width-3-4@m uk-width-1-1@s">
|
||||
<!--h3 *ngIf="projectInfo.acronym != undefined && projectInfo.acronym != ''">{{projectInfo.acronym}}</h3>
|
||||
<h3 *ngIf="projectInfo.acronym == undefined || projectInfo.acronym == ''">{{projectInfo.title}}</h3-->
|
||||
<div class="projectIcon">
|
||||
<h2 class="projectIcon">
|
||||
<span class="entityTitleIcon projectTitleIcon"></span>
|
||||
<h2 *ngIf="projectInfo.specialClause39==true" class="sc39">{{projectName}}</h2>
|
||||
<h2 *ngIf="projectInfo.specialClause39!=true">{{projectName}}</h2>
|
||||
</div>
|
||||
<span *ngIf="projectInfo.specialClause39==true" class="sc39">{{projectName}}</span>
|
||||
<span *ngIf="projectInfo.specialClause39!=true">{{projectName}}</span>
|
||||
</h2>
|
||||
|
||||
<dl class="uk-description-list">
|
||||
<dt *ngIf="projectInfo.title">Title: </dt>
|
||||
|
|
|
@ -67,7 +67,7 @@ export class SearchDataprovidersService {
|
|||
let size: number = 0;
|
||||
let url: string= OpenaireProperties.getSearchResourcesAPIURL();
|
||||
url += '?query=((oaftype exact datasource) not(datasourcecompatibilityid = UNKNOWN) not(datasourcecompatibilityid = notCompatible) not(datasourcetypeuiid = other) not(datasourcetypeuiid exact "pubsrepository::journal") not(datasourcetypeuiid exact "aggregator::pubsrepository::journals"))';
|
||||
url += "&page=0&size=1&format=json";
|
||||
url += "&page=0&size=0&format=json";
|
||||
|
||||
let key = url;
|
||||
if (this._cache.has(key)) {
|
||||
|
@ -109,7 +109,7 @@ export class SearchDataprovidersService {
|
|||
let size: number = 0;
|
||||
let url: string= OpenaireProperties.getSearchResourcesAPIURL();
|
||||
url += "?query=((oaftype exact datasource) and(datasourcetypeuiid = other))";
|
||||
url += "&page=0&size=1&format=json";
|
||||
url += "&page=0&size=0&format=json";
|
||||
|
||||
let key = url;
|
||||
if (this._cache.has(key)) {
|
||||
|
@ -150,7 +150,7 @@ export class SearchDataprovidersService {
|
|||
let size: number = 0;
|
||||
let url: string= OpenaireProperties.getSearchResourcesAPIURL();
|
||||
url += '?query=((oaftype exact datasource) not(datasourcecompatibilityid = UNKNOWN) not(datasourcecompatibilityid = notCompatible) and (datasourcetypeuiid exact "pubsrepository::journal" or datasourcetypeuiid exact "aggregator::pubsrepository::journals" ))';
|
||||
url += "&page=0&size=1&format=json";
|
||||
url += "&page=0&size=0&format=json";
|
||||
|
||||
let key = url;
|
||||
if (this._cache.has(key)) {
|
||||
|
|
Loading…
Reference in New Issue