Re-organise reconcile menu, removing qaResult

This commit is contained in:
Owen Stephens 2017-12-04 09:45:50 +00:00
parent cc71f7f64f
commit 9a4cf5ca0a

View File

@ -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"],