Update list_sidebar_group_by.js
This commit is contained in:
parent
6bdaddd6eb
commit
bf35ffbbe6
1 changed files with 2 additions and 2 deletions
|
|
@ -154,7 +154,7 @@ frappe.views.ListGroupBy = class ListGroupBy {
|
|||
`;
|
||||
|
||||
// Sort and set frappe.session.user on top of the list
|
||||
fields.sort((item) => item.name === frappe.session.user ? -1 : 1)
|
||||
fields.sort((item) => item.name === frappe.session.user ? -1 : 1);
|
||||
|
||||
let dropdown_html = standard_html + fields.map(get_dropdown_html).join('');
|
||||
dropdown.html(dropdown_html);
|
||||
|
|
@ -184,4 +184,4 @@ frappe.views.ListGroupBy = class ListGroupBy {
|
|||
});
|
||||
}
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue