diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2022-09-26 19:40:41 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2022-09-26 19:40:41 +0200 |
commit | bc13c56ac49f45a3fa5b504c38f63a3ad242ad36 (patch) | |
tree | 046c7668a055178c67c0eef9da1a57ae00731abd /server/views.py | |
parent | create model to hide doctype from specific group (diff) | |
download | scout-subs-bc13c56ac49f45a3fa5b504c38f63a3ad242ad36.tar.gz scout-subs-bc13c56ac49f45a3fa5b504c38f63a3ad242ad36.zip |
change "colonia" to "diga"
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,
|