mirror of
https://github.com/jech/galene.git
synced 2024-11-09 18:25:58 +01:00
Sort public groups.
This commit is contained in:
parent
a74e4f68b5
commit
b818d1890a
1 changed files with 3 additions and 0 deletions
3
group.go
3
group.go
|
@ -599,6 +599,9 @@ func getPublicGroups() []publicGroup {
|
|||
})
|
||||
}
|
||||
}
|
||||
sort.Slice(gs, func(i, j int) bool {
|
||||
return gs[i].Name < gs[j].Name
|
||||
})
|
||||
return gs
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue