summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar default2023-11-08 10:14:56 +0100
committerGravatar default2023-11-08 10:14:56 +0100
commit8417a80fec2549ab76096234584571846286bf8e (patch)
treea392125ef6ca0ba806d3eb4d3e4108b49f6b6c4f /httpd.c
parentFixed 'show more' in tag search. (diff)
downloadpenes-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/httpd.c b/httpd.c
index a912df2..c398c05 100644
--- a/httpd.c
+++ b/httpd.c
@@ -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();