fix query for publications of data provider
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@44777 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
e3294ac0b3
commit
7a647e71b3
|
@ -142,9 +142,9 @@ public getResultsForEntity(entity:string, id:string, page: number, size: number)
|
|||
public getResultsForDataproviders(id:string, resultsFrom:string, page: number, size: number){
|
||||
var parameters;
|
||||
if(resultsFrom == "collectedFrom") {
|
||||
parameters = "publications?"+resultsFrom+"="+id+"&cl=and";
|
||||
parameters = "publications?fq=collectedfromdatasourceid exact "+'"'+id+'"';
|
||||
} else if(resultsFrom == "hostedBy") {
|
||||
parameters = "publications?"+resultsFrom+"="+id+"&hs=and";
|
||||
parameters = "publications?fq=resulthostingdatasourceid exact "+'"'+id+'"';
|
||||
}
|
||||
|
||||
if(parameters != "") {
|
||||
|
|
Loading…
Reference in New Issue