summary refs log tree commit diff
path: root/server.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-10 20:47:52 -0400
committerJune McEnroe <june@causal.agency>2020-07-10 20:47:52 -0400
commitb6edd81b9759a5bba76569fb8acbbfc11b4a4ae6 (patch)
tree9785b74319394e290bc1596c2fed6e19f7e9d85d /server.h
parentFix hidden form fields (diff)
downloadscooper-b6edd81b9759a5bba76569fb8acbbfc11b4a4ae6.tar.gz
scooper-b6edd81b9759a5bba76569fb8acbbfc11b4a4ae6.zip
Implement basic search page
Diffstat (limited to '')
-rw-r--r--server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/server.h b/server.h
index bb9bc60..502e228 100644
--- a/server.h
+++ b/server.h
@@ -130,7 +130,8 @@ extern const char *Pages[PagesLen];
 	X(Context, "context", kvalid_stringne) \
 	X(After, "after", kvalid_stringne) \
 	X(Before, "before", kvalid_stringne) \
-	X(Query, "query", kvalid_stringne)
+	X(Query, "query", kvalid_stringne) \
+	X(Offset, "offset", kvalid_int)
 
 enum {
 #define X(key, name, valid) key,