Discourse Meta
自定义主题:尽管系统中存在,`categories.json`中仍缺少类别
开发
rest-api
pfaffman
(Jay Pfaffman)
2025 年5 月 10 日 12:14
5
听起来我说的没错。让 latest 发送一堆在停机时未使用的类别会很愚蠢。我认为我会做的是硬编码你想要的类别,或者将它们放在主题设置中。
你也可以做一个 Ajax 调用,但这会减慢速度。
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Categories.json API not returning Lounge and Staff categories
Support
6
724
2018 年11 月 11 日
category is not returned when searching for categories.json
Bug
rest-api
6
258
2024 年4 月 19 日
Muted categories appear in Categories page
UX
16
2242
2021 年11 月 17 日
Existing category invisible on page but visible when re-ordering categories
Support
17
639
2023 年5 月 3 日
Posts searchable but not showing mainstream
Bug
3
83
2025 年4 月 3 日