From b4d8ecfbe40a12def9abd8cc688c4a07d7c69838 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 8 Dec 2020 15:22:11 +0100 Subject: Title: add id to get_values --- ishtar_common/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index ea3bd5ed1..6eb7fac6d 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1882,6 +1882,7 @@ class TitleType(GenderedType): def get_values(self, prefix='', **kwargs): return { prefix: self.label, + prefix + "id": self.pk, prefix + "txt_idx": self.txt_idx, prefix + "long_title": self.long_title } -- cgit v1.2.3