diff --git a/server/subsonic/sharing.go b/server/subsonic/sharing.go index d52549b20..9b74375b2 100644 --- a/server/subsonic/sharing.go +++ b/server/subsonic/sharing.go @@ -14,7 +14,7 @@ import ( func (api *Router) GetShares(r *http.Request) (*responses.Subsonic, error) { repo := api.share.NewRepository(r.Context()).(model.ShareRepository) - shares, err := repo.GetAll() + shares, err := repo.GetAll(model.QueryOptions{Sort: "created_at desc"}) if err != nil { return nil, err }