fix: incorrect UI icon for desc sort (#25687)

This commit is contained in:
Ankush Menat 2024-03-27 19:41:22 +05:30 committed by GitHub
parent 85f66c083e
commit 8dd10b3a03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -163,7 +163,7 @@ frappe.ui.SortSelector = class SortSelector {
// set default
this.sort_by = this.args.sort_by;
this.sort_order = this.args.sort_order;
this.sort_order = this.args.sort_order = this.args.sort_order.toLowerCase();
}
get_meta_sort_field() {
var meta = frappe.get_meta(this.doctype);