From ea1351c32d4a34e0eaf6ac4cba77135c3350de67 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 8 Feb 2024 16:51:35 +0100 Subject: ✨ find/document fields: forms, searches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fields: quantity_comment, technical_areas, technical_processes, rights_owner, licenses, copyright, shooting_angle. --- ishtar_common/models.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index bd457e970..aa7fda851 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -4210,6 +4210,13 @@ class Document( pgettext_lazy("key for text search", "license"), "licenses__label__iexact", ), + "rights_owner": SearchAltName( + pgettext_lazy("key for text search", "rights-owner"), + "rights_owner__name__iexact", + ), + "copyright": SearchAltName( + pgettext_lazy("key for text search", "copyright"), "copyright__iexact" + ), "scale": SearchAltName( pgettext_lazy("key for text search", "scale"), "scale__iexact" ), -- cgit v1.2.3