mirror of
https://github.com/discourse/discourse.git
synced 2025-01-21 18:48:46 +08: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. |
||
---|---|---|
.. | ||
admin | ||
bootstrap-json | ||
confirm-new-email | ||
dialog-holder | ||
discourse | ||
discourse-common | ||
discourse-hbr | ||
discourse-plugins | ||
discourse-widget-hbs | ||
docs | ||
ember-addons | ||
ember-cli-progress-ci | ||
ember-production-deprecations | ||
locales | ||
patches | ||
pretty-text | ||
select-kit | ||
truth-helpers | ||
wizard | ||
.licensee.json | ||
.npmrc | ||
discourse-js-processor.js | ||
handlebars-shim.js | ||
package.json | ||
polyfills.js | ||
service-worker.js.erb | ||
yarn.lock |