Merge pull request #1710 from OpenRefine/issue1667

Improve facet expression for type match.
This commit is contained in:
Antonin Delpeuch 2018-09-05 15:18:22 +01:00 committed by GitHub
commit ad51081de2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -272,7 +272,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
{
"name" : column.name + ": "+$.i18n._('core-views')["best-cand-type-match"],
"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