From 0b64f9d232d71760c4ad6a60bd1ad42b9336cc30 Mon Sep 17 00:00:00 2001 From: Joanne Date: Sat, 17 Mar 2018 22:28:38 +0800 Subject: [PATCH] Update facet by blank --- .../core/scripts/views/data-table/menu-facets.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/main/webapp/modules/core/scripts/views/data-table/menu-facets.js b/main/webapp/modules/core/scripts/views/data-table/menu-facets.js index 5d5651344..238cecfef 100644 --- a/main/webapp/modules/core/scripts/views/data-table/menu-facets.js +++ b/main/webapp/modules/core/scripts/views/data-table/menu-facets.js @@ -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)" + } + ); + } } ] }