solving some loose ends
solving some loose ends:
- more robust check before activity goes to 'aggregate', so that it doesn't go back to 'aggregate' after it was already aggregated.
- visual clues that a task is a summary task (Quality button on Tasks screen is grey and added 'is_summary' to details screen)
- bugfix: activity info about ingest status should also be updated when task goes on finished, otherwise Activity has old info (not a real issue, because it doesn't do anything with it after the ingest has finished, it is only used in the IngestQ screen... but a dirty loose end).
- added order_by() everywhere, to prevent warnings and make queries faster (should have happened when I upgraded to Django 5).