[develop | DONE | CHANGED] in filters use "publication", "software", "dataset", "other" table instead of the result one
This commit is contained in:
parent
9e9332f1a3
commit
afdf6bf964
|
@ -296,7 +296,7 @@ export class IndicatorFilterUtils {
|
|||
}
|
||||
static getFieldForTable(field, table){
|
||||
if(["publication", "software", "dataset", "other", "result"].indexOf(table)!=-1 && IndicatorFilterUtils.filteredFields[field]["result"]){
|
||||
return IndicatorFilterUtils.filteredFields[field]["result"];
|
||||
return IndicatorFilterUtils.filteredFields[field]["result"].replace("result.",table + ".");
|
||||
}else{
|
||||
return IndicatorFilterUtils.filteredFields[field][table];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue