summaryrefslogtreecommitdiffstats
path: root/ui/src/components/main.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/main.tsx')
-rw-r--r--ui/src/components/main.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx
index 403368ab..f4ec779f 100644
--- a/ui/src/components/main.tsx
+++ b/ui/src/components/main.tsx
@@ -435,7 +435,10 @@ export class Main extends Component<any, MainState> {
<SortSelect sort={this.state.sort} onChange={this.handleSortChange} />
</span>
{this.state.type_ == ListingType.All && (
- <a href={`${document.location.origin}/feeds/all.xml`}>
+ <a
+ href={`/feeds/all.xml?sort=${SortType[this.state.sort]}`}
+ target="_blank"
+ >
<svg class="icon mx-1 text-muted small">
<use xlinkHref="#icon-rss">#</use>
</svg>