FIx in webmodel
This commit is contained in:
parent
5e29cf73f0
commit
da4bf8a36b
1 changed files with 2 additions and 2 deletions
|
|
@ -928,9 +928,9 @@ class WebModel:
|
|||
|
||||
if o in self.fields:
|
||||
|
||||
final_order.append('order by '+o+' '+arr_order[v])
|
||||
final_order.append(o+' '+arr_order[v])
|
||||
|
||||
self.order_by=", ".join(final_order)
|
||||
self.order_by='order by '+", ".join(final_order)
|
||||
|
||||
return self
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue