From f6663c7ded4f642ab89324bcc2b1df105046745e Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 7 Jul 2019 21:17:47 -0600 Subject: [PATCH] Update search results, fix status grid --- app/Http/Controllers/SearchController.php | 1 + resources/assets/js/components/SearchResults.vue | 14 ++++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index 6c9d4b83c..fc336c301 100644 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -143,6 +143,7 @@ class SearchController extends Controller 'tokens' => [$item->caption], 'name' => $item->caption, 'thumb' => $item->thumb(), + 'filter' => $item->firstMedia()->filter_class ]; }); $tokens['posts'] = $posts; diff --git a/resources/assets/js/components/SearchResults.vue b/resources/assets/js/components/SearchResults.vue index 321fdfbee..e93354190 100644 --- a/resources/assets/js/components/SearchResults.vue +++ b/resources/assets/js/components/SearchResults.vue @@ -67,15 +67,13 @@

Statuses

- -