From 72537532b7fe3af919f422f88abc22edda1c5e94 Mon Sep 17 00:00:00 2001 From: Kevin Ullyott Date: Wed, 16 Oct 2024 18:57:39 -0400 Subject: [PATCH] [AIDAPP-321]: Portal search loads forever and throws an error (#286) * Pass whether or not the article is featured Signed-off-by: Kevin Ullyott * Update the helper files Signed-off-by: Kevin Ullyott * chore: fix enforcement of copyright on all files --------- Signed-off-by: Kevin Ullyott --- .../KnowledgeManagementPortalSearchController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app-modules/portal/src/Http/Controllers/KnowledgeManagementPortal/KnowledgeManagementPortalSearchController.php b/app-modules/portal/src/Http/Controllers/KnowledgeManagementPortal/KnowledgeManagementPortalSearchController.php index e2636c988..3c8963400 100644 --- a/app-modules/portal/src/Http/Controllers/KnowledgeManagementPortal/KnowledgeManagementPortalSearchController.php +++ b/app-modules/portal/src/Http/Controllers/KnowledgeManagementPortal/KnowledgeManagementPortalSearchController.php @@ -83,6 +83,7 @@ public function get(Request $request): KnowledgeManagementSearchData ]) ->get() ->toArray(), + 'featured' => $article->is_featured, ]; }) ->toArray()