mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 17:25:32 +00:00
IDs: string -> int
This commit is contained in:
@@ -8,7 +8,7 @@ type Reihentitel struct {
|
||||
}
|
||||
|
||||
type Reihe struct {
|
||||
ID string `xml:"ID"`
|
||||
ID int `xml:"ID"`
|
||||
Titel string `xml:"NAME"`
|
||||
Sortiername string `xml:"SORTIERNAME"`
|
||||
Nachweis string `xml:"NACHWEIS"`
|
||||
@@ -16,7 +16,7 @@ type Reihe struct {
|
||||
}
|
||||
|
||||
func SanitizeReihen(reihentitel Reihentitel, relationen Relationen_Bände_Reihen) Reihentitel {
|
||||
m := make(map[string]bool)
|
||||
m := make(map[int]bool)
|
||||
o := Reihentitel{
|
||||
Reihen: []Reihe{},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user