fix bug in views.py
This commit is contained in:
parent
13db573995
commit
6a6634b2b9
@ -314,7 +314,7 @@ class BookmarkModelView(BaseModelView):
|
|||||||
def tags_not_contain_func(query, value, index):
|
def tags_not_contain_func(query, value, index):
|
||||||
for item in query:
|
for item in query:
|
||||||
for tag in item[index].split(','):
|
for tag in item[index].split(','):
|
||||||
if tag and tag == value:
|
if tag and tag != value:
|
||||||
yield item
|
yield item
|
||||||
|
|
||||||
res.extend([
|
res.extend([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user