課題や課題の分類に、サブカテゴリ以外何も含まれていないカテゴリがあります。そのカテゴリを検索すればサブカテゴリ内のものもヒットすると思ったのですが、そうはなりませんでした。
ここメタで「#customization:plugin」をクリックし、「discord」で検索すると、「Discourse to Discord bot」の投稿が見つかります。しかし、プラグインのカテゴリで検索すると、その投稿は表示されません。すべてのカテゴリを横断して検索できたらいいのにと思います。
課題や課題の分類に、サブカテゴリ以外何も含まれていないカテゴリがあります。そのカテゴリを検索すればサブカテゴリ内のものもヒットすると思ったのですが、そうはなりませんでした。
ここメタで「#customization:plugin」をクリックし、「discord」で検索すると、「Discourse to Discord bot」の投稿が見つかります。しかし、プラグインのカテゴリで検索すると、その投稿は表示されません。すべてのカテゴリを横断して検索できたらいいのにと思います。
Hmm yeh, haven’t really encountered this before but I think searching category+sub-categories by default makes sense. We’d have to come up with some sort of syntax for when you only want to search the parent category though, like category:plugin+none
This is now supported as per this change by @sam
https://github.com/discourse/discourse/commit/df8f365d999e113615c51efee4cfa3115c267783
So:
To search howto and all sub categories use
something howto
OR
something category:howto
To restrict it so you only search the category howto without children use:
something #=howto
OR
something category:=howto
We still need to decide what to do about the “search this category” checkbox.
Is there room for two check boxes?
When is two checkboxes ever the right choice?
Sounds compelling. In that case, I vote for the check box to include subcategories.
You mean to exclude? As it is included by default now…
I think he means this ![]()
I also think include by default is probably a better call
“Search the howto category” may need slightly better wording though.