Commit e2ff46d6 authored by haowang's avatar haowang

fix tag filter list tag_id is str

parent 9ac79451
......@@ -156,7 +156,7 @@ class TagFilterList(APIView):
if tag_name:
filters['tag_name'] = tag_name
if tag_id and tag_id > 0:
if tag_id and int(tag_id) > 0:
filters['tag_id'] = tag_id
data = self.rpc['venus/sun/tag/filter/list'](filters=filters, offset=offset, count=count).unwrap()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment