UX: expand parent category in full screen search results

This commit is contained in:
Sam 2017-11-13 16:56:20 +11:00
parent 5427ca13b7
commit 281e430a89

View File

@ -82,7 +82,10 @@
</a>
<div class='search-category'>
{{category-link result.topic.category}}
{{#if result.topic.category.parentCategory}}
{{category-link result.topic.category.parentCategory}}
{{/if}}
{{category-link result.topic.category hideParent=true}}
{{#each result.topic.tags as |tag|}}
{{discourse-tag tag}}
{{/each}}