search results ascending
This commit is contained in:
parent
1c48d18dc9
commit
d4f2c5c451
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ def make_query(fields, dt, key, txt, start, length):
|
|||
FROM `tab%(dt)s`
|
||||
WHERE `tab%(dt)s`.`%(key)s` LIKE '%(txt)s' AND `tab%(dt)s`.docstatus != 2
|
||||
ORDER BY `tab%(dt)s`.`%(key)s`
|
||||
DESC LIMIT %(start)s, %(len)s """ % {
|
||||
ASC LIMIT %(start)s, %(len)s """ % {
|
||||
'fields': fields,
|
||||
'dt': dt,
|
||||
'key': key,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue