功能
此主题组件将帮助您根据主题的“开放”或“关闭”状态筛选主题。它将在现有的分类和标签下拉菜单旁边添加一个下拉筛选器。您可以使用主题设置 enabled categories 将该组件限制在特定分类中,否则它将在所有分类中显示。
设置
翻译键
默认值
topic_status_filter.all
全部
topic_status_filter.open
开放
topic_status_filter.closed
关闭
由我们托管? 主题组件可在我们的标准版、商业版和企业版计划中使用。
29 个赞
pipkin
(Thijs)
2019 年3 月 20 日 22:14
2
Love it! Thanks!
It’s a real live-saver. We use Discourse as an internal project and taskmanagement system.
11 个赞
sam
(Sam Saffron)
2019 年3 月 21 日 02:19
3
Very cool, I hate to gift you the gift of work but I wonder would you be able to do a post on meta explaining how you are using Discourse internally, what is working well for you and what needs help? We may be able to give you more ideas to help with your workflow!
15 个赞
pipkin
(Thijs)
2019 年3 月 30 日 23:35
5
Reply here:
This post is in reply to @sam ’s question, but I think it merits a new topic.
I’m the co-founder of an industrial robotics consultancy & training startup from Holland.
In many cases, we are flown in once proverbial sh*t has hit some industrial fan.
Once we’ve cleaned stuff up, we train clients to make sure no more fans are hit in that particular location. (As contradictory as it seems, this business model actually works very well. But that for another topic.)
We really had to set up a system…
Seems like it merited a new topic.
11 个赞
thaidb
(thaidb)
2019 年4 月 25 日 10:47
6
Can we filter group tags theme component?
Discourse already having the tags filter. What do you mean by group tags theme component? And what is the use case?
2 个赞
Andy02
(Andy)
2020 年1 月 15 日 12:27
8
我认为他的意思是让“开放”和“已关闭”组件能够在标签页面和标签交集中生效。我附议,这正是我们论坛想要加入的功能。
目前,我们只是给主题添加“待办”、“冲刺中”、“进行中”或“已完成”标签来显示其状态。
1 个赞
Tealk
2025 年1 月 4 日 12:23
9
是否可以将此扩展到标签,而不仅仅是类别?
另外,如果可以选择默认选定的过滤器,那将是非常棒的。
为了确保万无一失,此组件是否会在页面重新加载/关闭后仍保留“打开”的筛选器状态?
晚上好。有什么方法可以在进入分类时默认显示“开放”主题吗?
1 个赞