mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Allow the selection order to be preserved in the Select2 control to fix column ordering in data Import/Export. Fixes #3029
This commit is contained in:
@@ -174,6 +174,7 @@ Backform, commonUtils, supportedNodes
|
||||
allowClear: false,
|
||||
placeholder: gettext('Columns for importing...'),
|
||||
first_empty: false,
|
||||
preserveSelectionOrder: true,
|
||||
},
|
||||
visible: 'importing',
|
||||
helpMessage: gettext('An optional list of columns to be copied. If no column list is specified, all columns of the table will be copied.'),
|
||||
@@ -192,6 +193,7 @@ Backform, commonUtils, supportedNodes
|
||||
multiple: true,
|
||||
allowClear: true,
|
||||
placeholder: gettext('Colums for exporting...'),
|
||||
preserveSelectionOrder: true,
|
||||
},
|
||||
visible: 'exporting',
|
||||
transform: function(rows) {
|
||||
|
||||
Reference in New Issue
Block a user