From 450630637751f28b72fa20b673bdd8f5bac44c13 Mon Sep 17 00:00:00 2001 From: Brock H Caldwell Date: Fri, 9 May 2025 16:25:35 -0500 Subject: [PATCH] fix: styles on monitoring and search buttons --- src/Controller/SearchController.php | 6 +++--- templates/components/SearchBar.html.twig | 11 ++++++++++- templates/search/result.html.twig | 23 +++++++++++++---------- 3 files changed, 26 insertions(+), 14 deletions(-) diff --git a/src/Controller/SearchController.php b/src/Controller/SearchController.php index 4f50049..5b63d78 100644 --- a/src/Controller/SearchController.php +++ b/src/Controller/SearchController.php @@ -38,8 +38,8 @@ final class SearchController extends AbstractController ): Response { $cacheId = sprintf("page.%s.%s", $input->mediaType, $input->tmdbId); - return $cache->get($cacheId, function (ItemInterface $item) use ($input) { - $item->expiresAt(Carbon::now()->addHour()->setMinute(0)->setSecond(0)); +// return $cache->get($cacheId, function (ItemInterface $item) use ($input) { +// $item->expiresAt(Carbon::now()->addHour()->setMinute(0)->setSecond(0)); $result = $this->getMediaInfoHandler->handle($input->toCommand()); return $this->render('search/result.html.twig', [ 'results' => $result, @@ -52,6 +52,6 @@ final class SearchController extends AbstractController 'episode' => '' ] ]); - }); +// }); } } diff --git a/templates/components/SearchBar.html.twig b/templates/components/SearchBar.html.twig index ce91495..0fe00d7 100644 --- a/templates/components/SearchBar.html.twig +++ b/templates/components/SearchBar.html.twig @@ -11,7 +11,16 @@ placeholder="TV Show, Movie..." /> -