From f7d59f2e576831f65098a6c05788fef28e0e0826 Mon Sep 17 00:00:00 2001
From: vermaas <vermaas@astron.nl>
Date: Thu, 19 Jan 2023 11:31:08 +0100
Subject: [PATCH] archived page

---
 atdb/taskdatabase/models.py                                 | 6 ------
 atdb/taskdatabase/templates/taskdatabase/failures/page.html | 2 +-
 atdb/taskdatabase/views.py                                  | 1 +
 3 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/atdb/taskdatabase/models.py b/atdb/taskdatabase/models.py
index 59d1ccbe..27adf8c9 100644
--- a/atdb/taskdatabase/models.py
+++ b/atdb/taskdatabase/models.py
@@ -224,12 +224,6 @@ class Task(models.Model):
         except:
             return None
 
-    # def lta_object_id(self):
-    #     try:
-    #         return self.archive['lta_object_id']
-    #     except:
-    #         return None
-
 
     def path_to_lta(self):
         try:
diff --git a/atdb/taskdatabase/templates/taskdatabase/failures/page.html b/atdb/taskdatabase/templates/taskdatabase/failures/page.html
index 274af274..cc3032c8 100644
--- a/atdb/taskdatabase/templates/taskdatabase/failures/page.html
+++ b/atdb/taskdatabase/templates/taskdatabase/failures/page.html
@@ -9,7 +9,7 @@
         <div class="row">
             <div class="col-8">
                 <h3>Failures</h3>
-                These are all the tasks that failed.
+                These are all the tasks that <b>failed</b>.
                 Click 'Retry' to restart the this step in the workflow (see 'Diagram' in top menu).
                 <td>{% include 'taskdatabase/filter/search.html' %}</td>
                 <hr>
diff --git a/atdb/taskdatabase/views.py b/atdb/taskdatabase/views.py
index d414df3d..6214606b 100644
--- a/atdb/taskdatabase/views.py
+++ b/atdb/taskdatabase/views.py
@@ -85,6 +85,7 @@ class TaskFilterQueryPage(filters.FilterSet):
             'quality': ['icontains', 'in'],
             'project': ['exact', 'icontains', 'in'],
             'sas_id': ['exact', 'icontains', 'in'],
+            #'sas_id_archived': ['exact', 'icontains', 'in'],
         }
 
 
-- 
GitLab