[GrandComicsDatabase/gcd-django] Image Resources status after a delete (Issue #536)

1 view
Skip to first unread message

JochenGCD

unread,
Sep 15, 2022, 5:56:36 PMSep 15
to GrandComicsDatabase/gcd-django, Subscribed

if a scan of indicia is deleted, the Image Resource Status remains purple

due to .annotate(num_scans=Sum('image_resources__type__id')), where we don't filter for deleted image_resources. Don't know if and how one can do that in an annotate. Maybe we have to do it differently.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <GrandComicsDatabase/gcd-django/issues/536@github.com>

Reply all
Reply to author
Forward
0 new messages