mirror of
https://github.com/navidrome/navidrome.git
synced 2026-03-04 06:35:52 +00:00
random -> SEEDRAND (#3274)
This commit is contained in:
parent
147fd54aac
commit
d5b5fc0885
@ -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