This commit is contained in:
Simon
2025-08-01 14:30:55 +00:00
parent f1a3046f62
commit 57ed44c2d4

View File

@@ -329,7 +329,7 @@ impl Provider for PornhubProvider {
let _ = featured; // Ignored in this implementation let _ = featured; // Ignored in this implementation
let _ = pool; // Ignored in this implementation let _ = pool; // Ignored in this implementation
let mut sort = sort.to_lowercase(); let mut sort = sort.to_lowercase();
if sort == "date"{ if sort.contains("date"){
sort = "mr".to_string(); sort = "mr".to_string();
} }
let videos: std::result::Result<Vec<VideoItem>, Error> = match query { let videos: std::result::Result<Vec<VideoItem>, Error> = match query {