From 90ae58b99e74955bf5bae66ad867585155f7cc43 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Fri, 12 Jun 2026 10:37:50 +0200 Subject: [PATCH] fix: change browse sort from desc to asc --- internal/anime/command_palette.go | 4 ++-- templates/browse.gohtml | 2 +- templates/discover.gohtml | 2 +- templates/index.gohtml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/anime/command_palette.go b/internal/anime/command_palette.go index 598ea57..cebd523 100644 --- a/internal/anime/command_palette.go +++ b/internal/anime/command_palette.go @@ -68,8 +68,8 @@ func (h *AnimeHandler) commandPaletteNavigationItems(query string) []commandPale all := []commandPaletteItem{ {ID: "nav:discover", Type: "navigation", Label: "Go to Discover", Subtitle: "Navigation", Href: "/discover", Icon: "compass"}, {ID: "nav:watchlist", Type: "navigation", Label: "Go to Watchlist", Subtitle: "Navigation", Href: "/watchlist", Icon: "bookmark"}, - {ID: "nav:popular", Type: "navigation", Label: "Browse popular", Subtitle: "Browse", Href: "/browse?order_by=popularity&sort=desc", Icon: "trending"}, - {ID: "nav:airing", Type: "navigation", Label: "Currently airing", Subtitle: "Browse", Href: "/browse?status=airing&order_by=popularity&sort=desc", Icon: "play"}, + {ID: "nav:popular", Type: "navigation", Label: "Browse popular", Subtitle: "Browse", Href: "/browse?order_by=popularity&sort=asc", Icon: "trending"}, + {ID: "nav:airing", Type: "navigation", Label: "Currently airing", Subtitle: "Browse", Href: "/browse?status=airing&order_by=popularity&sort=asc", Icon: "play"}, } if query == "" { return all diff --git a/templates/browse.gohtml b/templates/browse.gohtml index ec90b69..df9bec8 100644 --- a/templates/browse.gohtml +++ b/templates/browse.gohtml @@ -20,7 +20,7 @@

Try clearing filters or browsing what’s popular.

Clear filters - Browse popular + Browse popular
{{else}} diff --git a/templates/discover.gohtml b/templates/discover.gohtml index a7bc091..1bd7eae 100644 --- a/templates/discover.gohtml +++ b/templates/discover.gohtml @@ -56,7 +56,7 @@

Trending This Season

- View all + View all
{{template "discover_skeleton"}} diff --git a/templates/index.gohtml b/templates/index.gohtml index f9940f2..1824f26 100644 --- a/templates/index.gohtml +++ b/templates/index.gohtml @@ -14,7 +14,7 @@

Currently Airing

- + See more @@ -27,7 +27,7 @@

Most Popular

- + See more