We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b1644e commit 057748dCopy full SHA for 057748d
pkg/opds/opds.go
@@ -477,7 +477,7 @@ func (h *Handler) listAuthors(w http.ResponseWriter, r *http.Request) {
477
lang := h.getLanguage(r)
478
prefix := r.FormValue("author")
479
abc := h.CFG.Languages[lang].Abc
480
- if r.Form.Has("all") || len(h.CFG.Languages) == 1 {
+ if r.Form.Has("all") {
481
abc = ""
482
}
483
authors := h.DB.ListAuthors(prefix, abc)
@@ -823,7 +823,7 @@ func (h *Handler) listSeries(w http.ResponseWriter, r *http.Request) {
823
aLang string
824
all string
825
)
826
827
828
aLang = ""
829
all = "&all"
0 commit comments