diff options
Diffstat (limited to 'archaeological_finds/models_finds.py')
| -rw-r--r-- | archaeological_finds/models_finds.py | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 4eabda174..977a3ff3b 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -554,7 +554,7 @@ class BaseFind(      )      excavation_id = models.TextField(_("Excavation ID"), blank=True, default="")      description = models.TextField(_("Description"), blank=True, default="") -    comment = models.TextField(_("Comment"), blank=True, default="") +    comment = models.TextField(_("Comment on the circumstances of discovery"), blank=True, default="")      special_interest = models.CharField(          _("Special interest"), blank=True, default="", max_length=120      ) @@ -1319,6 +1319,10 @@ class Find(              pgettext_lazy("key for text search", "context-record"),              "base_finds__context_record__cached_label__icontains",          ), +        "base_finds__comment": SearchAltName( +            pgettext_lazy("key for text search", "discovery-comment"), +            "base_finds__comment__iexact", +        ),          "ope_relation_types": SearchAltName(              pgettext_lazy("key for text search", "operation-relation-type"),              "ope_relation_types", @@ -2125,7 +2129,7 @@ class Find(          _("Dimensions comment"), blank=True, default=""      )      mark = models.TextField(_("Marking details"), blank=True, default="") -    comment = models.TextField(_("Comment"), blank=True, default="") +    comment = models.TextField(_("General comment"), blank=True, default="")      dating_comment = models.TextField(_("Comment on dating"), blank=True, default="")      previous_id = models.TextField(_("Previous ID"), blank=True, default="")      index = models.IntegerField("Index", default=0) | 
