mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-30 01:35:32 +00:00
Refactored Startpage
This commit is contained in:
@@ -103,6 +103,11 @@ func Series_IDs(app core.App, ids []any) ([]*Series, error) {
|
||||
return TableByIDs[[]*Series](app, SERIES_TABLE, ids)
|
||||
}
|
||||
|
||||
func Series_ID(app core.App, id string) (*Series, error) {
|
||||
ret, err := TableByID[Series](app, SERIES_TABLE, id)
|
||||
return &ret, err
|
||||
}
|
||||
|
||||
func Places_IDs(app core.App, ids []any) ([]*Place, error) {
|
||||
return TableByIDs[[]*Place](app, PLACES_TABLE, ids)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user