diff options
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/ishtar_common/models.py b/ishtar_common/models.py index d8d3c3213..cff55ea5b 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -407,6 +407,7 @@ class Dashboard:              last_ids = history_model.objects.values('id')\                                              .annotate(hd=Max('history_date'))              last_ids = last_ids.filter(history_type=modif_type) +            from archaeological_finds.models import Find              if self.model == Find:                  last_ids = last_ids.filter(downstream_treatment_id__isnull=True)                  if modif_type == '+': | 
