mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 13:09:33 -06:00
68a3328999
What is the problem? Before this change, the edit navigation menu tags modal was not displaying tags that belonged to a tag_group when the tags_listed_by_group site setting was set to true. This is because we are relying on the /tags endpoint which returned tags in various keys depending on the tags_listed_by_group site setting. When the site setting is set to true, tags under belonging to tag groups were returned in the extra.tag_groups attribute. What is the fix? This commit fixes it by pushing all tags in returned under the `tag_groups` attribute into the list of tags to displayed. In a following commit, we will move away from the `/tags` endpoint to a dedicated route to handle the listing of tags in the modal. |
||
---|---|---|
.. | ||
fabricators | ||
fixtures | ||
helpers | ||
import_export | ||
initializers | ||
integration | ||
integrity | ||
jobs | ||
lib | ||
mailers | ||
models | ||
multisite | ||
requests | ||
script/import_scripts | ||
serializers | ||
services | ||
support | ||
system | ||
tasks | ||
views | ||
rails_helper.rb | ||
regenerate_swagger_docs | ||
swagger_helper.rb |