diff options
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() |