fix fitler edit by user

This commit is contained in:
j 2021-11-09 18:04:03 +00:00
parent 446d363623
commit a7c48d557d

View file

@ -108,7 +108,7 @@ class Text(models.Model):
if 'director' in clip:
cited[item_id]['director'] = clip['director']
for annotation in clip['layers'][layer]:
if 'user' in self.data and annotation['user'] == self.data['user']:
if 'user' in self.data and annotation['user'] != self.data['user']:
continue
for key in ('title', 'director', 'date'):
if key in clip: