diff --git a/evidence/models.py b/evidence/models.py index 667945f..d971ce8 100644 --- a/evidence/models.py +++ b/evidence/models.py @@ -126,7 +126,7 @@ class Evidence: return Annotation.objects.filter( owner=user.institution, type=Annotation.Type.SYSTEM, - ).order_by("-created").values_list("uuid", flat=True).distinct() + ).order_by("-created").values_list("uuid", "created").distinct() def set_components(self): snapshot = ParseSnapshot(self.doc).snapshot_json diff --git a/evidence/templates/evidences.html b/evidence/templates/evidences.html index c67e9d9..b221d9b 100644 --- a/evidence/templates/evidences.html +++ b/evidence/templates/evidences.html @@ -14,10 +14,13 @@ {% for ev in evidences %} - {{ ev }} + {{ ev.0 }} - + {{ ev.1 }} + + + {% endfor %}