From 9925b5cbd42ac52f0388ba1e1bb56e09aae3aa1f Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Thu, 20 Jan 2022 09:28:37 -0800 Subject: [PATCH] webapps.help: whoops, caused it to search for ``f`` --- extra/webapps/help/help.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/webapps/help/help.factor b/extra/webapps/help/help.factor index 19b8961098..c5e8d04d5d 100644 --- a/extra/webapps/help/help.factor +++ b/extra/webapps/help/help.factor @@ -20,11 +20,11 @@ TUPLE: help-webapp < dispatcher ; { help-webapp "search" } >>template [ "search" param [ unicode:blank? ] trim [ - f help-dir [ + f swap help-dir [ [ article-apropos ?links "articles" set-value ] [ word-apropos ?links "words" set-value ] [ vocab-apropos ?links "vocabs" set-value ] tri - ] with-directory "empty" set-value + ] with-directory not "empty" set-value ] unless-empty help-navbar "navbar" set-value -- 2.34.1