mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-13 18:57:18 +03:00
random -> SEEDRAND (#3274)
This commit is contained in:
parent
8134edb5d1
commit
1ba390a72a
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user