mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-04 21:47:40 +03:00
Sort Top by Timeframe
This commit is contained in:
parent
44c4341e67
commit
f65ee2eb6a
8 changed files with 76 additions and 43 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue