fixing query with keyword in publications | remove fadein from advanced search fields - breaks z-index in autocomple | fix url after click in search/find

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@45498 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2017-01-19 15:42:52 +00:00
parent 37df5a718c
commit 041a158edf
3 changed files with 4 additions and 11 deletions

View File

@ -284,14 +284,7 @@ public subPub;public subData;public subProjects;public subOrg;public subPeople;
public keywordChanged($event){
this.keyword = $event.value;
console.info("Search Find: search with keyword \"" + this.keyword + "\"" );
// if(location.pathname.indexOf("search/find") ==-1){
this.location.go(location.pathname+"search/find","?keyword=" + this.keyword);
// }else{
// this.location.go(location.pathname,"?keyword=" + this.keyword);
// }
//unsubscribeSearch();
this.location.go(location.pathname,"?keyword=" + this.keyword);
this.reloadTabs();
if(this.activeTab == "publications") {
this.searchPublications();

View File

@ -11,7 +11,7 @@ import {Dates} from '../../utils/string-utils.class';
template: `
<form class="uk-form">
<table class="uk-text-center">
<tr *ngFor="let selectedField of selectedFields; let i = index" class="uk-form-row uk-animation-fade">
<tr *ngFor="let selectedField of selectedFields; let i = index" class="uk-form-row ">
<td *ngIf ="i==0 ">Search for:</td>
<td *ngIf = "i != 0" ><select [(ngModel)]="selectedField.operatorId" name="selectOp_{{i}}" >

View File

@ -20,14 +20,14 @@ export class SearchPublicationsService {
let link = OpenaireProperties.getSearchAPIURLLast()+"publications";
let url = link+"?"+"&format=json";
let url = link+"?";
if(params!= null && params != '' ) {
url += params;
}
if(refineParams!= null && refineParams != '' ) {
url += refineParams;
}
url += "&page="+(page-1)+"&size="+size;
url += "&page="+(page-1)+"&size="+size+"&format=json";
let key = url;
if (this._cache.has(key)) {