fix fitler edit by user
This commit is contained in:
parent
446d363623
commit
a7c48d557d
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue