diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -2830,11 +2830,13 @@ int html_get_handler(const xs_dict *req, const char *q_path, | |||
| 2830 | xs *next = list_timeline(&snac, lid, skip + show, 1); | 2830 | xs *next = list_timeline(&snac, lid, skip + show, 1); |
| 2831 | 2831 | ||
| 2832 | if (list != NULL) { | 2832 | if (list != NULL) { |
| 2833 | xs *ttl = timeline_top_level(&snac, list); | ||
| 2834 | |||
| 2833 | xs *base = xs_fmt("/list/%s", lid); | 2835 | xs *base = xs_fmt("/list/%s", lid); |
| 2834 | xs *name = list_maint(&snac, lid, 3); | 2836 | xs *name = list_maint(&snac, lid, 3); |
| 2835 | xs *title = xs_fmt(L("Showing timeline for list '%s'"), name); | 2837 | xs *title = xs_fmt(L("Showing timeline for list '%s'"), name); |
| 2836 | 2838 | ||
| 2837 | *body = html_timeline(&snac, list, 0, skip, show, | 2839 | *body = html_timeline(&snac, ttl, 0, skip, show, |
| 2838 | xs_list_len(next), title, base, 1); | 2840 | xs_list_len(next), title, base, 1); |
| 2839 | *b_size = strlen(*body); | 2841 | *b_size = strlen(*body); |
| 2840 | status = HTTP_STATUS_OK; | 2842 | status = HTTP_STATUS_OK; |