feat(customize_form): allow setting creation as a default sort field (#25760)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
f8121b99df
commit
2bf0ab079a
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ frappe.ui.form.on("Customize Form", {
|
|||
var fields = $.map(frm.doc.fields, function (df) {
|
||||
return frappe.model.is_value_type(df.fieldtype) ? df.fieldname : null;
|
||||
});
|
||||
fields = ["", "name", "modified"].concat(fields);
|
||||
fields = ["", "name", "creation", "modified"].concat(fields);
|
||||
frm.set_df_property("sort_field", "options", fields);
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue