🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
random -> SEEDRAND (#3274)
Kendall Garner1ba390a72a84
diff --git a/persistence/sql_base_repository.go b/persistence/sql_base_repository.goindex e50f72cb1..d43375a58 100644--- a/persistence/sql_base_repository.go+++ b/persistence/sql_base_repository.go@@ -172,7 +172,7 @@ func (r sqlRepository) seededRandomSort() string {}func (r sqlRepository) resetSeededRandom(options []model.QueryOptions) {- if len(options) == 0 || options[0].Sort != "random" {+ if len(options) == 0 || !strings.HasPrefix(options[0].Sort, "SEEDEDRAND(") {return}