Re-organise reconcile menu, removing qaResult
@@ -214,6 +214,34 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
}
);
}
+ },
+ {
+ id: "core/by-judgment-actions",
+ label: $.i18n._('core-views')["judg-actions"],
+ click: function() {
+ ui.browsingEngine.addFacet(
+ "list",
+ {
+ "name" : column.name + " "+$.i18n._('core-views')["judg-actions2"],
+ "columnName" : column.name,
+ "expression" : "cell.recon.judgmentAction"
+ }
+ );
+ }
+ },
+ {
+ id: "core/by-judgment-history-entries",
+ label: $.i18n._('core-views')["judg-hist"],
+ click: function() {
+ ui.browsingEngine.addFacet(
+ "list",
+ {
+ "name" : column.name + " "+$.i18n._('core-views')["hist-entries"],
+ "columnName" : column.name,
+ "expression" : "cell.recon.judgmentHistoryEntry"
+ }
+ );
+ }
},
{},
{
@@ -319,54 +347,6 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
}
]
},
- {
- id: "core/qa-facets",
- label: $.i18n._('core-views')["qa-facets"],
- submenu: [
- {
- id: "core/by-qa-results",
- label: $.i18n._('core-views')["qa-results"],
- click: function() {
- ui.browsingEngine.addFacet(
- "list",
- {
- "name" : column.name + " "+$.i18n._('core-views')["qa-results2"],
- "columnName" : column.name,
- "expression" : "cell.recon.features.qaResult"
- }
- );
- }
- },
- {
- id: "core/by-judgment-actions",
- label: $.i18n._('core-views')["judg-actions"],
- click: function() {
- ui.browsingEngine.addFacet(
- "list",
- {
- "name" : column.name + " "+$.i18n._('core-views')["judg-actions2"],
- "columnName" : column.name,
- "expression" : "cell.recon.judgmentAction"
- }
- );
- }
- },
- {
- id: "core/by-judgment-history-entries",
- label: $.i18n._('core-views')["judg-hist"],
- click: function() {
- ui.browsingEngine.addFacet(
- "list",
- {
- "name" : column.name + " "+$.i18n._('core-views')["hist-entries"],
- "columnName" : column.name,
- "expression" : "cell.recon.judgmentHistoryEntry"
- }
- );
- }
- }
- ]
- },
{
id: "core/actions",
label: $.i18n._('core-views')["actions"],
