summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2024-05-10 12:44:26 +0200
committerGravatar default2024-05-10 12:44:26 +0200
commitc2c0f3b39b8d893b9041907df375fa20654ad3e2 (patch)
treed0f3a1fb6d35752ee39d7131ee68b3e91ba8ec12 /html.c
parentMore search tweaks MUAHAHAHA. (diff)
downloadsnac2-c2c0f3b39b8d893b9041907df375fa20654ad3e2.tar.gz
snac2-c2c0f3b39b8d893b9041907df375fa20654ad3e2.tar.xz
snac2-c2c0f3b39b8d893b9041907df375fa20654ad3e2.zip
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,
2578 else 2578 else
2579 title = xs_fmt(L("Nothing found for '%s'"), q); 2579 title = xs_fmt(L("Nothing found for '%s'"), q);
2580 2580
2581 *body = html_timeline(&snac, tl, 0, skip, tl_len, tl_len > 0, title, page, 1); 2581 *body = html_timeline(&snac, tl, 0, skip, tl_len, tl_len == show, title, page, 1);
2582 *b_size = strlen(*body); 2582 *b_size = strlen(*body);
2583 status = 200; 2583 status = 200;
2584 } 2584 }