diff options
Diffstat (limited to 'archaeological_context_records')
-rw-r--r-- | archaeological_context_records/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index e279c55fa..f0a277678 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -555,7 +555,7 @@ class ContextRecord( "operation_id": "operation_id", "unit__label": "unit__label", } - MANY_COUNTED_FIELDS = ["base_finds"] + MANY_COUNTED_FIELDS = ["base_finds__isnull"] REVERSED_BOOL_FIELDS = [ "documents__image__isnull", "documents__associated_file__isnull", @@ -612,7 +612,7 @@ class ContextRecord( "parcel__cached_label__iexact", ), "has_finds": SearchAltName( - pgettext_lazy("key for text search", "has-finds"), "base_finds" + pgettext_lazy("key for text search", "has-finds"), "base_finds__isnull" ), "cr_relation_types": SearchAltName( pgettext_lazy("key for text search", "record-relation-type"), |