WIP: improve search #1
|
@ -22,7 +22,7 @@ use serde_json::Value;
|
|||
|
||||
const DEFAULT_SIZE: usize = 25;
|
||||
|
||||
#[derive(Copy, Clone, Debug, Deserialize)]
|
||||
#[derive(Copy, Clone, Deserialize)]
|
||||
enum SortKey {
|
||||
Name,
|
||||
Size,
|
||||
|
@ -50,7 +50,7 @@ impl fmt::Display for SortKey {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Deserialize)]
|
||||
#[derive(Copy, Clone, Deserialize)]
|
||||
enum SortDirection {
|
||||
Asc,
|
||||
Desc,
|
||||
|
|
Loading…
Reference in New Issue