1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-22 23:35:46 +01:00

Sort public groups.

This commit is contained in:
Juliusz Chroboczek 2020-04-30 22:32:44 +02:00
parent a74e4f68b5
commit b818d1890a

View file

@ -599,6 +599,9 @@ func getPublicGroups() []publicGroup {
})
}
}
sort.Slice(gs, func(i, j int) bool {
return gs[i].Name < gs[j].Name
})
return gs
}