diff --git a/main/webapp/modules/core/scripts/views/data-table/menu-edit-column.js b/main/webapp/modules/core/scripts/views/data-table/menu-edit-column.js index 24d7e2bb8..2943b2b36 100644 --- a/main/webapp/modules/core/scripts/views/data-table/menu-edit-column.js +++ b/main/webapp/modules/core/scripts/views/data-table/menu-edit-column.js @@ -184,7 +184,7 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) { var doMoveColumnBy = function(change) { var newidx = Refine.columnNameToColumnIndex(column.name) + change; - if (newidx > 0 && newidx < Refine.columnNameToColumnIndex(column.name)) { + if (newidx >= 0) { Refine.postCoreProcess( "move-column", {