tindex.dcgi: show search query on no results - recipes - various cooking recipes
(HTM) git clone git://src.adamsgaard.dk/recipes
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
---
(DIR) commit a263f12cac8433971add9005dbc5a23368d2a3be
(DIR) parent 20a8c506790c594479326b641a571b03084e5658
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 27 Aug 2021 14:32:58 +0200
index.dcgi: show search query on no results
Diffstat:
M index.dcgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/index.dcgi b/index.dcgi
t@@ -39,7 +39,7 @@ if test -n "${search}"; then
fi
printf '\n%s\n' "$results"
else
- printf '\nNo recipes found\n' "$n"
+ printf '\nNo recipes found for: "%s"\n' "$n" "$search"
fi
fi