Added type to pop in tags
This commit is contained in:
parent
a994e7214b
commit
075ce887da
|
|
@ -209,6 +209,7 @@ class FiltersTagCategoryViewSet(TagCategoryViewSet):
|
|||
if len(tag_category): # we have Pop tag in our results
|
||||
tag_category = tag_category[0]
|
||||
tag_category['param_name'] = 'tags_id__in'
|
||||
tag_category['type'] = 'pop'
|
||||
result_list.append(tag_category)
|
||||
result_list.sort(key=lambda x: self.index_name_to_order.get(x.get('index_name'), 0), reverse=True)
|
||||
return Response(result_list)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user