fix(data_exporter): don't sort multiselect dialog fields

By default we currently sort all by default, doesn't make sense to do here
Better to leave it in the order the fields in the doctype are

Reference: support ticket 18084

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
Akhil Narang 2024-07-08 17:42:58 +05:30
parent 1ed87246d5
commit afa5b6b7e7
No known key found for this signature in database
GPG key ID: 9DCC61E211BF645F

View file

@ -67,6 +67,7 @@ frappe.data_import.DataExporter = class DataExporter {
columns: 2,
on_change: () => this.update_primary_action(),
options: this.get_multicheck_options(this.doctype),
sort_options: false,
},
...frappe.meta.get_table_fields(this.doctype).map((df) => {
let doctype = df.options;