mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 02:25:30 +00:00
Some frontend validation logic
This commit is contained in:
@@ -64,9 +64,10 @@ func (p *SeriesAPI) searchHandler(app core.App) HandleFunc {
|
||||
}
|
||||
seen[series.Id] = true
|
||||
response = append(response, map[string]string{
|
||||
"id": series.Id,
|
||||
"name": series.Title(),
|
||||
"detail": series.Pseudonyms(),
|
||||
"id": series.Id,
|
||||
"name": series.Title(),
|
||||
"detail": series.Pseudonyms(),
|
||||
"musenalm_id": strconv.Itoa(series.MusenalmID()),
|
||||
})
|
||||
if limit > 0 && len(response) >= limit {
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user