Personen Verbesserungen

This commit is contained in:
Simon Martens
2025-02-25 12:16:39 +01:00
parent 24f1e4fd55
commit f35c738cee
13 changed files with 81 additions and 23 deletions

View File

@@ -165,7 +165,7 @@ func LettersForAgents(app core.App, filter string) ([]string, error) {
if err != nil {
return nil, err
}
} else if filter == "autor" {
} else if filter == "text" {
err := app.RecordQuery(AGENTS_TABLE).
Select("upper(substr(" + AGENTS_NAME_FIELD + ", 1, 1)) AS id").
Distinct(true).