From 32184c4e738c6873dce6ef9c64c5b7bbcd0a91c9 Mon Sep 17 00:00:00 2001
From: Vermaas <vermaas@astron.nl>
Date: Tue, 23 Apr 2024 10:37:42 +0200
Subject: [PATCH] small hotfix

---
 atdb/taskdatabase/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/atdb/taskdatabase/models.py b/atdb/taskdatabase/models.py
index 585b0b34..c4c4cea1 100644
--- a/atdb/taskdatabase/models.py
+++ b/atdb/taskdatabase/models.py
@@ -250,7 +250,7 @@ class Task(models.Model):
                     self.is_summary = check_if_summary(self)
 
                     # if so, temporarily put it on hold so that the ancillary service can grab it with it
-                    if self.is_summary:
+                    if (self.is_summary and not self.activity.is_aggregated):
                         self.resume = False
 
             except Exception as error:
-- 
GitLab