fix: paged profile timeline
This commit is contained in:
parent
45d9d3ae3b
commit
3a48ef2969
3 changed files with 2 additions and 2 deletions
|
@ -46,5 +46,4 @@
|
|||
(await ns(\"ui\")).IO_DATA_DISABLE_RELOAD = true;
|
||||
console.log(\"created profile timeline\");
|
||||
}, 1000);"))
|
||||
|
||||
(text "{% endblock %}")
|
||||
|
|
|
@ -30,5 +30,5 @@
|
|||
(text "{%- endif %}")
|
||||
|
||||
(text "{% if paginated -%}")
|
||||
(text "{{ components::pagination(page=page, items=list|length) }}")
|
||||
(text "{{ components::pagination(page=page, items=list|length, key=\"&tag=\" ~ tag) }}")
|
||||
(text "{%- endif %}")
|
||||
|
|
|
@ -848,6 +848,7 @@ pub async fn swiss_army_timeline_request(
|
|||
let mut context = initial_context(&data.0.0.0, lang, &user).await;
|
||||
|
||||
context.insert("list", &list);
|
||||
context.insert("tag", &req.tag);
|
||||
context.insert("page", &req.page);
|
||||
context.insert("paginated", &req.paginated);
|
||||
Ok(Html(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue