Skip to content

Commit a26de28

Browse files
author
DIVYAM TAYAL
authored
fix: Frontpage Tags not directing to filtered search page (#5903)
1 parent fed657f commit a26de28

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

app/templates/components/event-card.hbs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,18 @@
5555
{{t-var this.tags.[2]}}
5656
</a>
5757
{{else}}
58-
{{#each this.tags as |tag|}}
59-
<a href="#">{{t-var tag}}</a>
60-
{{/each}}
58+
<a href="{{href-to 'explore' (query-params category=this.event.topic.name event_type=null sub_category=null)}}"
59+
class="link item">
60+
{{t-var this.tags.[0]}}
61+
</a>
62+
<a href="{{href-to 'explore' (query-params category=null event_type=this.event.type.name sub_category=null)}}"
63+
class="link item">
64+
{{t-var this.tags.[1]}}
65+
</a>
66+
<a href="{{href-to 'explore' (query-params category=this.event.topic.name event_type=null sub_category=this.event.subTopic.slug)}}"
67+
class="link item">
68+
{{t-var this.tags.[2]}}
69+
</a>
6170
{{/if}}
6271
{{/if}}
6372
</span>

0 commit comments

Comments
 (0)