|
|
@ -885,7 +885,7 @@ class EstatisticasAcessoNormas(FilterView): |
|
|
from norma_normaestatisticas |
|
|
from norma_normaestatisticas |
|
|
where ano = {} |
|
|
where ano = {} |
|
|
group by mes, ano, norma_id |
|
|
group by mes, ano, norma_id |
|
|
order by mes asc, ano; |
|
|
order by mes desc; |
|
|
'''.format(context['ano']) |
|
|
'''.format(context['ano']) |
|
|
cursor = connection.cursor() |
|
|
cursor = connection.cursor() |
|
|
cursor.execute(query) |
|
|
cursor.execute(query) |
|
|
|