summaryrefslogtreecommitdiffstats
path: root/templates/activities/search.html
diff options
context:
space:
mode:
authorAvi Flax2022-12-04 20:32:11 -0500
committerGitHub2022-12-04 18:32:11 -0700
commitd27be3f42619e9eaf3b8ac9333b2bf5bb290aae6 (patch)
tree2cc8e162c4a88d2631d8fa07a3d9e05b61d41a78 /templates/activities/search.html
parent6cf344360afa078d9a0aa95649ce4b92868aa330 (diff)
downloadtakahe-d27be3f42619e9eaf3b8ac9333b2bf5bb290aae6.tar.gz
takahe-d27be3f42619e9eaf3b8ac9333b2bf5bb290aae6.tar.bz2
takahe-d27be3f42619e9eaf3b8ac9333b2bf5bb290aae6.zip
Don’t show "no results" on search entry page (#105)
Diffstat (limited to 'templates/activities/search.html')
-rw-r--r--templates/activities/search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/activities/search.html b/templates/activities/search.html
index 9081632..84b2cc7 100644
--- a/templates/activities/search.html
+++ b/templates/activities/search.html
@@ -26,7 +26,7 @@
{% endfor %}
</section>
{% endif %}
- {% if not results.identities and not results.hashtags %}
+ {% if results and not results.identities and not results.hashtags %}
<h2>No results (yet)</h2>
<p>No results found — not yet, at least. The search swamphens are still
rooting around behind the scenes and may yet turn something up. If you try your search