mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-30 01:35:32 +00:00
Filtering now works
This commit is contained in:
@@ -15,6 +15,13 @@ func Sort_Series_Title(series []*Series) {
|
||||
})
|
||||
}
|
||||
|
||||
func Sort_Agents_Name(agents []*Agent) {
|
||||
collator := collate.New(language.German)
|
||||
slices.SortFunc(agents, func(i, j *Agent) int {
|
||||
return collator.CompareString(i.Name(), j.Name())
|
||||
})
|
||||
}
|
||||
|
||||
func Sort_Entries_Title_Year(entries []*Entry) {
|
||||
collator := collate.New(language.German)
|
||||
slices.SortFunc(entries, func(i, j *Entry) int {
|
||||
|
||||
Reference in New Issue
Block a user