forked from 0x2620/pandora
entities are not links
This commit is contained in:
parent
c59fb1596f
commit
e851dcabfb
3 changed files with 7 additions and 3 deletions
|
|
@ -244,7 +244,7 @@ class Annotation(models.Model):
|
|||
try:
|
||||
entity = self.get_entity()
|
||||
j['entity'] = entity.json(user=user)
|
||||
j['value'] = entity.html_link()
|
||||
j['value'] = entity.annotation_value()
|
||||
except:
|
||||
j['entity'] = {}
|
||||
elif l['type'] == 'event':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue