summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-05-10 12:44:26 +0200
committerdefault <nobody@localhost>2024-05-10 12:44:26 +0200
commitc2c0f3b39b8d893b9041907df375fa20654ad3e2 (patch)
treed0f3a1fb6d35752ee39d7131ee68b3e91ba8ec12 /html.c
parentd12ebcef82d274aef0930c94ba90b2b40d91828c (diff)
More search tweaks la la la la.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 8bcfab3..8139d68 100644
--- a/html.c
+++ b/html.c
@@ -2578,7 +2578,7 @@ int html_get_handler(const xs_dict *req, const char *q_path,
else
title = xs_fmt(L("Nothing found for '%s'"), q);
- *body = html_timeline(&snac, tl, 0, skip, tl_len, tl_len > 0, title, page, 1);
+ *body = html_timeline(&snac, tl, 0, skip, tl_len, tl_len == show, title, page, 1);
*b_size = strlen(*body);
status = 200;
}