fix bug in views.py

This commit is contained in:
Artiom White 2021-03-14 17:26:47 +02:00
parent 13db573995
commit 6a6634b2b9

View File

@ -314,7 +314,7 @@ class BookmarkModelView(BaseModelView):
def tags_not_contain_func(query, value, index):
for item in query:
for tag in item[index].split(','):
if tag and tag == value:
if tag and tag != value:
yield item
res.extend([