feat: add sort/filter component for watchlist
- create reusable SortFilter templ component with sort options (date, title, score) - integrate sort/filter into watchlist page with query params - add sortEntries method to handle client-side sorting - add CSS styling for sort filter controls - pass sort params through status tab and view toggle links
This commit is contained in:
@@ -34,7 +34,7 @@ func (c *Client) Search(query string, page int) (SearchResult, error) {
|
||||
return res, nil
|
||||
}
|
||||
|
||||
// GetTopAnime fetches the top anime by popularity
|
||||
// GetTopAnime fetches the top anime by popularity (default) or other filters
|
||||
func (c *Client) GetTopAnime(page int) (TopAnimeResult, error) {
|
||||
if page < 1 {
|
||||
page = 1
|
||||
|
||||
Reference in New Issue
Block a user