diff options
| author | metamuffin <metamuffin@disroot.org> | 2026-02-26 03:02:24 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2026-02-26 03:02:24 +0100 |
| commit | eb6648770e7de66ccafe44d114ecbb2c1eaf444d (patch) | |
| tree | 2bce9f579b3ea7313f84df94b27fad813c66e9e1 /common/src/routes.rs | |
| parent | 7f7deec27e69ed110c52caddaa3a0c04430e71d9 (diff) | |
| download | jellything-eb6648770e7de66ccafe44d114ecbb2c1eaf444d.tar jellything-eb6648770e7de66ccafe44d114ecbb2c1eaf444d.tar.bz2 jellything-eb6648770e7de66ccafe44d114ecbb2c1eaf444d.tar.zst | |
implement application-side continuation tokens
Diffstat (limited to 'common/src/routes.rs')
| -rw-r--r-- | common/src/routes.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/src/routes.rs b/common/src/routes.rs index b76fc98..96f36e2 100644 --- a/common/src/routes.rs +++ b/common/src/routes.rs @@ -42,9 +42,8 @@ pub fn u_node_slug_progress(node: &str, time: f64) -> String { pub fn u_items() -> String { "/items".to_string() } -pub fn u_items_filter(page: usize) -> String { - // TODO - format!("/items?page={page}") +pub fn u_items_cont(cont: &str) -> String { + format!("/items?cont={cont}") } pub fn u_admin_users() -> String { "/admin/users".to_string() |