renovation-core icon indicating copy to clipboard operation
renovation-core copied to clipboard

getList() orderBy documentation is vague

Open Abadulrehman opened this issue 3 years ago • 0 comments

The renovation-core documentation currently has the following definition of the orderBy argument of getList(): Screenshot from 2021-08-24 22-31-31 ...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:

Abadulrehman avatar Aug 24 '21 18:08 Abadulrehman