feat: sort selected genres first in filter dropdown

This commit is contained in:
2026-06-16 17:33:40 +02:00
committed by Milas Holsting
parent 8b4963e1c2
commit 59e25d414c
4 changed files with 98 additions and 8 deletions

View File

@@ -51,6 +51,7 @@ func rendererFuncs() template.FuncMap {
"browseURL": browseURL,
"genresParams": genresParams,
"hasGenre": hasGenre,
"orderedGenres": orderedGenreOptions,
"add": func(a, b int) int { return a + b },
"sub": func(a, b int) int { return a - b },
"mul": func(a, b float64) float64 { return a * b },