json: export seat_number attribute
This commit is contained in:
parent
0d46e074f2
commit
6de5351ace
|
@ -16,6 +16,7 @@ class DeputyJson(BrowserView):
|
|||
'website': self.context.website,
|
||||
'degrees': self.context.degrees,
|
||||
'mandates': self.context.mandates,
|
||||
'seat_number': self.context.seat_number,
|
||||
}
|
||||
if self.context.polgroup:
|
||||
d['polgroup'] = self.context.polgroup.to_object.title
|
||||
|
|
Reference in New Issue