Browse Source

elimina ordenação descendente do model e applic da tabela

pull/2655/head
Leandro Roberto 6 years ago
parent
commit
97af780782
  1. 2
      sapl/crud/base.py

2
sapl/crud/base.py

@ -581,6 +581,8 @@ class CrudListView(PermissionRequiredContainerCrudMixin, ListView):
rmo = rmo[0] rmo = rmo[0]
if not isinstance(rmo, str): if not isinstance(rmo, str):
rmo = rmo[0] rmo = rmo[0]
if rmo.startswith('-'):
rmo = rmo[1:]
fo = '%s__%s' % (fo, rmo) fo = '%s__%s' % (fo, rmo)
fo = desc + fo fo = desc + fo

Loading…
Cancel
Save