Skip to content

Conversation

@nattsw
Copy link
Contributor

@nattsw nattsw commented Dec 26, 2025

context

Related: discourse/discourse#36226

The TagShowRoute originally stores the backend-returned tag tag = { id: 123, name: "tag-name" } into the frontend model as { id: tag.name }.

change made

This theme component thus uses "router.currentRoute.attributes.tag.id", which needs to be converted to "router.currentRoute.attributes.tag.name" instead.

@nattsw
Copy link
Contributor Author

nattsw commented Dec 26, 2025

Note: test will fail until discourse/discourse#36226 is merged.

@nattsw nattsw merged commit f3e1845 into main Dec 29, 2025
13 of 15 checks passed
@nattsw nattsw deleted the tag-name branch December 29, 2025 06:19
tgxworld pushed a commit that referenced this pull request Jan 19, 2026
…#91)

* DEV: Update tag_id usage to tag_name where a tag's name is referenced

* cannot use tagName since special keyword
tgxworld pushed a commit that referenced this pull request Jan 19, 2026
…#91)

* DEV: Update tag_id usage to tag_name where a tag's name is referenced

* cannot use tagName since special keyword
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants