Update facet by blank

This commit is contained in:
Joanne 2018-03-17 22:28:38 +08:00
parent 43c81bc727
commit 0b64f9d232

View File

@ -272,6 +272,20 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
} }
); );
} }
},
{
id: "core/blank-facet",
label: $.i18n._('core-views')["facet-blank"],
click: function() {
ui.browsingEngine.addFacet(
"list",
{
"name": column.name,
"columnName": column.name,
"expression": "isBlank(value)"
}
);
}
} }
] ]
} }