FIX: category settings showed top tags instead of tag settings
This commit is contained in:
parent
caa1aea995
commit
61ada93a99
|
@ -84,7 +84,7 @@ class CategorySerializer < BasicCategorySerializer
|
|||
end
|
||||
|
||||
def allowed_tags
|
||||
Tag.top_tags(category: object)
|
||||
object.tags.pluck(:name)
|
||||
end
|
||||
|
||||
def include_allowed_tag_groups?
|
||||
|
|
Loading…
Reference in New Issue