From dffae725026a5f19303c36d5250779cf5e8523ab Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 10 Jul 2020 11:54:33 -0400 Subject: Add -l and -r options --- contexts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contexts.c') diff --git a/contexts.c b/contexts.c index 77774ae..d8eb4fd 100644 --- a/contexts.c +++ b/contexts.c @@ -26,7 +26,7 @@ const char *ContextsQuery = SQL( SELECT time, context FROM events ORDER BY event DESC - LIMIT 500 // TODO: Configurable. + LIMIT :recent ), activeContexts AS ( SELECT name, query FROM contexts @@ -60,6 +60,7 @@ enum kcgi_err pageContexts(struct kreq *req) { || htmlNav(&html, network, NULL); if (error) return error; + dbBindInt(stmt.contexts, ":recent", pageRecent); dbBindText(stmt.contexts, ":network", network); if (pagePublic) dbBindInt(stmt.contexts, ":query", false); -- cgit 1.4.1 '/src/log/bin/cash/Makefile?follow=1'>log tree commit diff
path: root/bin/cash/Makefile (unfollow)
Commit message (Expand)Author
2025-12-26Update list of gearJune McEnroe
2025-12-26Add ability to specify chemistryJune McEnroe
2025-12-22Expand regular expressionJune McEnroe
2025-12-22Let -n prevent postingJune McEnroe
2025-12-22Dehtml pronoun fieldsJune McEnroe
2025-12-10Add Rose/HouseJune McEnroe
2025-11-19Bilingualize pronouns regexJune McEnroe
2025-11-19Hardcode a follower IDJune McEnroe
2025-11-18Add pronouns bot scriptJune McEnroe
2025-08-27Update DESCRIPTION of myselfJune McEnroe
2025-08-18Publish "time"June McEnroe
2025-08-18Add a bunch of film roll metadataJune McEnroe
2025-08-18Add a draftJune McEnroe