fix link in paging of compatible and entity registries PAges
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@44778 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
7a647e71b3
commit
e0be0f421c
|
@ -51,7 +51,7 @@ export class SearchCompatibleDataprovidersComponent {
|
||||||
constructor (private route: ActivatedRoute, private _searchDataprovidersService: SearchDataprovidersService ) {
|
constructor (private route: ActivatedRoute, private _searchDataprovidersService: SearchDataprovidersService ) {
|
||||||
var errorCodes:ErrorCodes = new ErrorCodes();
|
var errorCodes:ErrorCodes = new ErrorCodes();
|
||||||
this.searchUtils.status =errorCodes.LOADING;
|
this.searchUtils.status =errorCodes.LOADING;
|
||||||
this.baseUrl = OpenaireProperties.getLinkToSearchDataProviders();
|
this.baseUrl = OpenaireProperties.searchLinkToCompatibleDataProviders;
|
||||||
for(var i = 0; i < this._prefixQueryFields.length; i++ ){
|
for(var i = 0; i < this._prefixQueryFields.length; i++ ){
|
||||||
for(var j =0; j < this._prefixQueryFields[i].values.length; j++){
|
for(var j =0; j < this._prefixQueryFields[i].values.length; j++){
|
||||||
this._prefixQuery+="&" + this._prefixQueryFields[i].field + "="
|
this._prefixQuery+="&" + this._prefixQueryFields[i].field + "="
|
||||||
|
|
|
@ -50,7 +50,7 @@ export class SearchEntityRegistriesComponent {
|
||||||
constructor (private route: ActivatedRoute, private _searchDataprovidersService: SearchDataprovidersService ) {
|
constructor (private route: ActivatedRoute, private _searchDataprovidersService: SearchDataprovidersService ) {
|
||||||
var errorCodes:ErrorCodes = new ErrorCodes();
|
var errorCodes:ErrorCodes = new ErrorCodes();
|
||||||
this.searchUtils.status =errorCodes.LOADING;
|
this.searchUtils.status =errorCodes.LOADING;
|
||||||
this.baseUrl = OpenaireProperties.getLinkToSearchDataProviders();
|
this.baseUrl = OpenaireProperties.searchLinkToEntityRegistriesDataProviders;
|
||||||
for(var i = 0; i < this._prefixQueryFields.length; i++ ){
|
for(var i = 0; i < this._prefixQueryFields.length; i++ ){
|
||||||
for(var j =0; j < this._prefixQueryFields[i].values.length; j++){
|
for(var j =0; j < this._prefixQueryFields[i].values.length; j++){
|
||||||
this._prefixQuery+="&" + this._prefixQueryFields[i].field + "="
|
this._prefixQuery+="&" + this._prefixQueryFields[i].field + "="
|
||||||
|
|
|
@ -14,6 +14,8 @@ export class OpenaireProperties {
|
||||||
private static searchLinkToDatasets = "search/find/datasets";
|
private static searchLinkToDatasets = "search/find/datasets";
|
||||||
private static searchLinkToOrganizations = "search/find/organizations";
|
private static searchLinkToOrganizations = "search/find/organizations";
|
||||||
private static searchLinkToPeople = "search/find/people";
|
private static searchLinkToPeople = "search/find/people";
|
||||||
|
public static searchLinkToCompatibleDataProviders = "search/data-providers";
|
||||||
|
public static searchLinkToEntityRegistriesDataProviders = "search/entity-registries";
|
||||||
//Advanced Search pages
|
//Advanced Search pages
|
||||||
public static searchLinkToAdvancedPublications = "search/advanced/publications";
|
public static searchLinkToAdvancedPublications = "search/advanced/publications";
|
||||||
public static searchLinkToAdvancedProjects = "search/advanced/projects";
|
public static searchLinkToAdvancedProjects = "search/advanced/projects";
|
||||||
|
|
Loading…
Reference in New Issue