only link to locations that can be searched
This commit is contained in:
parent
06b7ef84a2
commit
cd27a6a099
5 changed files with 39 additions and 15 deletions
|
@ -55,9 +55,15 @@ class SpaceGeometryMixin(GeometryMixin):
|
|||
|
||||
def details_display(self):
|
||||
result = super().details_display()
|
||||
result['display'].insert(3, (str(_('Space')), {'id': self.space_id,
|
||||
'slug': self.space.get_slug(),
|
||||
'title': self.space.title}))
|
||||
result['display'].insert(3, (
|
||||
str(_('Space')),
|
||||
{
|
||||
'id': self.space_id,
|
||||
'slug': self.space.get_slug(),
|
||||
'title': self.space.title,
|
||||
'can_search': self.space.can_search,
|
||||
},
|
||||
))
|
||||
return result
|
||||
|
||||
def register_delete(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue