Commit d1163df3 authored by 王浩's avatar 王浩

Merge branch 'haow/dev' into 'test'

fix tag filter list tag_id is str

See merge request !198
parents 54dc4c7b e2ff46d6
...@@ -156,7 +156,7 @@ class TagFilterList(APIView): ...@@ -156,7 +156,7 @@ class TagFilterList(APIView):
if tag_name: if tag_name:
filters['tag_name'] = 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 filters['tag_id'] = tag_id
data = self.rpc['venus/sun/tag/filter/list'](filters=filters, offset=offset, count=count).unwrap() 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