From 534e2800433e1a66901131300b151d3f250bc5ca Mon Sep 17 00:00:00 2001 From: Eragon Date: Tue, 12 Sep 2023 22:05:38 +0200 Subject: [PATCH] search: fix check for topic/programs --- app/templates/search.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/templates/search.html b/app/templates/search.html index 0f5803b..2d77d51 100644 --- a/app/templates/search.html +++ b/app/templates/search.html @@ -54,7 +54,9 @@ {% if i.forum %} {{ i.title }} {% elif i.thread %} + {% if i.thread.owner_topic %} {{ i.thread.owner_topic[0].title }} + {% endif %} {% endif %} {{ i.headline }}