From a27a23196cd005dc9a4a5fcd11c9fb081eca9d36 Mon Sep 17 00:00:00 2001 From: Vern1erCa11per <26157023+Vern1erCa11per@users.noreply.github.com> Date: Fri, 13 Apr 2018 17:39:29 +0900 Subject: [PATCH] fix #1565 fix reorder with rows mode --- .../modules/core/scripts/views/data-table/data-table-view.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main/webapp/modules/core/scripts/views/data-table/data-table-view.js b/main/webapp/modules/core/scripts/views/data-table/data-table-view.js index bbb6a3ef0..333940621 100644 --- a/main/webapp/modules/core/scripts/views/data-table/data-table-view.js +++ b/main/webapp/modules/core/scripts/views/data-table/data-table-view.js @@ -769,7 +769,10 @@ DataTableView.prototype._createSortingMenu = function(elmt) { Refine.postCoreProcess( "reorder-rows", null, - { "sorting" : JSON.stringify(self._sorting) }, + { + "sorting" : JSON.stringify(self._sorting), + "mode" : ui.browsingEngine.getMode() + }, { rowMetadataChanged: true }, { onDone: function() {