@@ -10,6 +10,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
"sort"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@@ -77,6 +78,7 @@ func (c *Controller) ServeHome(r *http.Request) *Response {
|
|||||||
for profile := range transcode.UserProfiles {
|
for profile := range transcode.UserProfiles {
|
||||||
data.TranscodeProfiles = append(data.TranscodeProfiles, profile)
|
data.TranscodeProfiles = append(data.TranscodeProfiles, profile)
|
||||||
}
|
}
|
||||||
|
sort.Strings(data.TranscodeProfiles)
|
||||||
// podcasts box
|
// podcasts box
|
||||||
c.DB.Find(&data.Podcasts)
|
c.DB.Find(&data.Podcasts)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user