Improve facet expression for type match. Closes #1667.

This commit is contained in:
Antonin Delpeuch 2018-08-15 11:48:47 +01:00
parent 4844e579e0
commit 4352e2b1ec

View File

@ -272,7 +272,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
{ {
"name" : column.name + ": "+$.i18n._('core-views')["best-cand-type-match"], "name" : column.name + ": "+$.i18n._('core-views')["best-cand-type-match"],
"columnName" : column.name, "columnName" : column.name,
"expression" : 'forNonBlank(cell.recon.features.typeMatch, v, v, if(isNonBlank(value), "(unreconciled)", "(blank)"))' "expression" : 'forNonBlank(cell.recon.features.typeMatch, v, v, if(isNonBlank(value), if(cell.recon != null, "(no type)", "(unreconciled)"), "(blank)"))'
}, },
{ {
"scroll" : false "scroll" : false