From a7c48d557d03ed4591f4f668b1117eb3b36317f2 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 9 Nov 2021 18:04:03 +0000 Subject: [PATCH] fix fitler edit by user --- app/text/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/text/models.py b/app/text/models.py index ee18be2..027d790 100644 --- a/app/text/models.py +++ b/app/text/models.py @@ -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: