mirror of
https://github.com/redlib-org/redlib.git
synced 2026-06-11 20:54:14 -04:00
Sort Top by Timeframe
This commit is contained in:
@@ -66,6 +66,7 @@ pub struct Subreddit {
|
||||
// Parser for query params, used in sorting (eg. /r/rust/?sort=hot)
|
||||
#[derive(serde::Deserialize)]
|
||||
pub struct Params {
|
||||
pub t: Option<String>,
|
||||
pub sort: Option<String>,
|
||||
pub after: Option<String>,
|
||||
pub before: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user