pmvhaven category option
This commit is contained in:
@@ -189,7 +189,7 @@ impl HanimeProvider {
|
||||
}
|
||||
|
||||
async fn get(&self, cache: VideoCache, pool: DbPool, page: u8, query: String, sort:String) -> Result<Vec<VideoItem>> {
|
||||
let index = format!("{}:{}:{}", query, page, sort);
|
||||
let index = format!("hanime:{}:{}:{}", query, page, sort);
|
||||
let order_by = match sort.contains("."){
|
||||
true => sort.split(".").collect::<Vec<&str>>()[0].to_string(),
|
||||
false => "created_at_unix".to_string(),
|
||||
|
||||
Reference in New Issue
Block a user