Skip to content

Commit

Permalink
fix: correct URL encoding for category filter query params (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkvach committed May 8, 2024
1 parent 9d58554 commit d3a22c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SelectableVisualization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ div
aw-summary(:fields="activityStore.category.top",
:namefunc="e => e.data['$category'].join(' > ')",
:colorfunc="e => e.data['$category'].join(' > ')",
:linkfunc="e => '#' + $route.path + '?category=' + e.data['$category'].join('>')",
:linkfunc="e => '#' + $route.path + '?category=' + encodeURIComponent(e.data['$category'].join('>'))",
with_limit)
div(v-if="type == 'category_tree'")
aw-categorytree(:events="activityStore.category.top")
Expand Down

1 comment on commit d3a22c2

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are screenshots of this commit:

Screenshots using aw-server v0.12.3b11 (click to expand)

Screenshots using aw-server-rust master (click to expand)

Screenshots using aw-server-rust v0.12.3b11 (click to expand)

Please sign in to comment.