Merge pull request #1946 from neilLasrado/develop
[ux improvement] Sort modules shown in user doctype
This commit is contained in:
commit
a115df59dc
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ class User(Document):
|
|||
def onload(self):
|
||||
self.set_onload('all_modules',
|
||||
[m.module_name for m in frappe.db.get_all('Desktop Icon',
|
||||
fields=['module_name'], filters={'standard': 1})])
|
||||
fields=['module_name'], filters={'standard': 1}, order_by="module_name")])
|
||||
|
||||
def validate(self):
|
||||
self.check_demo()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue