Merge pull request #506 from shunlog/fix

fix bug in views.py
This commit is contained in:
Mischievous Meerkat 2021-03-14 21:32:05 +05:30 committed by GitHub
commit f664e1d319
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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([