diff options
Diffstat (limited to 'server/views.py')
-rw-r--r-- | server/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/views.py b/server/views.py index 4133d3c..12b79e9 100644 --- a/server/views.py +++ b/server/views.py @@ -1237,7 +1237,7 @@ def doclist(request): 'error_text': error_text,
'settings': settings,
'total_count': documents.count,
- 'colonia_count': documents.filter(user__groups__name__contains="colonia").count,
+ 'diga_count': documents.filter(user__groups__name__contains="diga").count,
'muta_count': documents.filter(user__groups__name__contains="muta").count,
'reparto_count': documents.filter(user__groups__name__contains="reparto").count,
'posto_count': documents.filter(user__groups__name__contains="posto").count,
@@ -1467,7 +1467,7 @@ def doclist_readonly(request): 'error_text': error_text,
'settings': settings,
'total_count': documents.count,
- 'colonia_count': documents.filter(user__groups__name__contains="colonia").count,
+ 'diga_count': documents.filter(user__groups__name__contains="diga").count,
'muta_count': documents.filter(user__groups__name__contains="muta").count,
'reparto_count': documents.filter(user__groups__name__contains="reparto").count,
'posto_count': documents.filter(user__groups__name__contains="posto").count,
|