From 7768dc5cbcf710acceceee4ec9b75cb7de77db32 Mon Sep 17 00:00:00 2001 From: Sergei Kasianenko <41939763+urchinpro@users.noreply.github.com> Date: Sat, 23 Sep 2023 12:27:34 +0800 Subject: [PATCH 1/2] Update directory/models.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- directory/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/directory/models.py b/directory/models.py index a134abbf33..d5b744f8c7 100644 --- a/directory/models.py +++ b/directory/models.py @@ -332,7 +332,7 @@ def filter_type(t): 14: dict(is_application=True), 15: dict(is_monitoring=True), 16: dict(is_expertise=True), - 17: dict(is_case=True) + 17: dict(is_case=True), } return ts.get(t + 1, {}) From b3b10d9784dd7a8d4f630dc1c3a097dfa40abc80 Mon Sep 17 00:00:00 2001 From: Sergei Kasianenko <41939763+urchinpro@users.noreply.github.com> Date: Sat, 23 Sep 2023 12:27:41 +0800 Subject: [PATCH 2/2] Update api/views.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- api/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/api/views.py b/api/views.py index 310b1bfd17..fbb7826695 100644 --- a/api/views.py +++ b/api/views.py @@ -721,7 +721,6 @@ def fill_settings(): ) for e in en: - if e < 4 or not en[e] or e == 13: continue