WIP: improve search #1

Closed
rob wants to merge 26 commits from improve-search into master
1 changed files with 13 additions and 13 deletions
Showing only changes of commit b727949dcd - Show all commits

View File

@ -26,29 +26,29 @@ const DEFAULT_SIZE: usize = 25;
#[derive(Copy, Clone, Debug, Deserialize)]
enum SortKey {
Name,
Size,
Seeds,
Leeches,
Scraped,
Name,
Size,
Seeds,
Leeches,
Scraped,
}
impl Default for SortKey {
fn default() -> Self {
Self::Scraped
}
fn default() -> Self {
Self::Scraped
}
}
#[derive(Copy, Clone, Debug, Deserialize)]
enum SortDirection {
Asc,
Desc,
Asc,
Desc,
}
impl Default for SortDirection {
fn default() -> Self {
Self::Desc
}
fn default() -> Self {
Self::Desc
}
}
#[actix_rt::main]