From 39efe6767cce3be3e2feed9d65d3b5ffc0f0646e Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 8 Apr 2024 13:03:20 -0400 Subject: [PATCH] Default tags assign on error --- lib/philomena_web/controllers/search_controller.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/philomena_web/controllers/search_controller.ex b/lib/philomena_web/controllers/search_controller.ex index 9b6974e4..969bc096 100644 --- a/lib/philomena_web/controllers/search_controller.ex +++ b/lib/philomena_web/controllers/search_controller.ex @@ -34,6 +34,7 @@ defmodule PhilomenaWeb.SearchController do render(conn, "index.html", title: "Searching for #{params["q"]}", images: [], + tags: [], error: msg, search_query: params["q"] )