[develop | DONE | CHANGED] in filters use "publication", "software", "dataset", "other" table instead of the result one

This commit is contained in:
argirok 2024-04-18 11:08:41 +03:00
parent 9e9332f1a3
commit afdf6bf964
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}