renovation-core
renovation-core copied to clipboard
getList() orderBy documentation is vague
The renovation-core documentation currently has the following definition of the orderBy argument of getList():
...while the actual argument looks something a little more like this:
this.$renovation.model.getList({
doctype: 'Clients',
fields: ['client_name, logo'],
orderBy: '`tabClients`.`name` asc',
})
A little tweaking of the description, or a full example could save someone inexperienced with frappe much time wasted. :sweat_smile: