summaryrefslogtreecommitdiffstats
path: root/ui/src/components/community.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/community.tsx')
-rw-r--r--ui/src/components/community.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/src/components/community.tsx b/ui/src/components/community.tsx
index a8ec9331..712aeb7e 100644
--- a/ui/src/components/community.tsx
+++ b/ui/src/components/community.tsx
@@ -175,7 +175,10 @@ export class Community extends Component<any, State> {
<div class="mb-2">
<SortSelect sort={this.state.sort} onChange={this.handleSortChange} />
<a
- href={`${document.location.origin}/feeds/c/${this.state.communityName}.xml`}
+ href={`/feeds/c/${this.state.communityName}.xml?sort=${
+ SortType[this.state.sort]
+ }`}
+ target="_blank"
>
<svg class="icon mx-2 text-muted small">
<use xlinkHref="#icon-rss">#</use>