From 03a86efcf5c5f2b6521b62ca6ec5276af87cc326 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 23 Nov 2023 11:07:43 +0000 Subject: [PATCH] switch reference to created_date to date_applied --- portality/bll/services/todo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portality/bll/services/todo.py b/portality/bll/services/todo.py index 36f86fc4af..e662003d90 100644 --- a/portality/bll/services/todo.py +++ b/portality/bll/services/todo.py @@ -449,7 +449,7 @@ def lmu_older_than(cls, weeks): def cd_older_than(cls, weeks): return { "range": { - "created_date": { + "admin.date_applied": { "lte": "now-" + str(weeks) + "w" } }