diff options
| author | 2023-11-08 10:14:56 +0100 | |
|---|---|---|
| committer | 2023-11-08 10:14:56 +0100 | |
| commit | 8417a80fec2549ab76096234584571846286bf8e (patch) | |
| tree | a392125ef6ca0ba806d3eb4d3e4108b49f6b6c4f /httpd.c | |
| parent | Fixed 'show more' in tag search. (diff) | |
| download | penes-snac2-8417a80fec2549ab76096234584571846286bf8e.tar.gz penes-snac2-8417a80fec2549ab76096234584571846286bf8e.tar.xz penes-snac2-8417a80fec2549ab76096234584571846286bf8e.zip | |
Added a tag argument to html_timeline().
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -162,12 +162,12 @@ int server_get_handler(xs_dict *req, const char *q_path, | |||
| 162 | more = 1; | 162 | more = 1; |
| 163 | } | 163 | } |
| 164 | 164 | ||
| 165 | *body = html_timeline(NULL, tl, 0, skip, show, more); | 165 | *body = html_timeline(NULL, tl, 0, skip, show, more, t); |
| 166 | } | 166 | } |
| 167 | else | 167 | else |
| 168 | if (xs_type(xs_dict_get(srv_config, "show_instance_timeline")) == XSTYPE_TRUE) { | 168 | if (xs_type(xs_dict_get(srv_config, "show_instance_timeline")) == XSTYPE_TRUE) { |
| 169 | xs *tl = timeline_instance_list(0, 30); | 169 | xs *tl = timeline_instance_list(0, 30); |
| 170 | *body = html_timeline(NULL, tl, 0, 0, 0, 0); | 170 | *body = html_timeline(NULL, tl, 0, 0, 0, 0, NULL); |
| 171 | } | 171 | } |
| 172 | else | 172 | else |
| 173 | *body = greeting_html(); | 173 | *body = greeting_html(); |