search bugfix
This commit is contained in:
@@ -158,6 +158,8 @@ impl PmvhavenProvider {
|
||||
video_url = format!("{}&stars={}", video_url, star);
|
||||
} else if let Some(category) = self.categories.read().unwrap().iter().find(|s| s.to_ascii_lowercase() == search_string.to_ascii_lowercase()) {
|
||||
video_url = format!("{}&tagMode=AND&tags={}", video_url, category);
|
||||
} else {
|
||||
video_url = format!("{}&q={}", video_url, search_string);
|
||||
}
|
||||
let old_items = match cache.get(&video_url) {
|
||||
Some((time, items)) => {
|
||||
|
||||
Reference in New Issue
Block a user