From 693a81d724247e6d5d71b59a0afd21ae9fa4762b Mon Sep 17 00:00:00 2001 From: f4ilji Date: Fri, 8 Nov 2024 15:07:53 +0500 Subject: [PATCH] Changes --- app/Http/Controllers/SearchController.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index 7419c45..108a24f 100644 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -42,11 +42,11 @@ class SearchController extends Controller ->add(Post::where('status', '=', 'published'), ['title', 'search_data']) ->add(Page::with('section')->where('searchable', '=', true), ['title', 'search_data']) ->add(Event::where('event_date_start', '>', Date::now()), 'title') - ->add(AdditionalEducation::where('is_active', '=', true), 'title') - ->add(EducationalGroup::with('schedules'), 'title') - ->add(EducationalProgram::where('status', '=', true)->whereHas('admission_plans'), 'name') - ->add(Faculty::where('is_active', '=', true), 'title') - ->add(User::whereHas('userDetail'), ['name', 'userDetail.education', 'userDetail.awards', 'userDetail.publications',]) +// ->add(AdditionalEducation::where('is_active', '=', true), 'title') +// ->add(EducationalGroup::with('schedules'), 'title') +// ->add(EducationalProgram::where('status', '=', true)->whereHas('admission_plans'), 'name') +// ->add(Faculty::where('is_active', '=', true), 'title') +// ->add(User::whereHas('userDetail'), ['name', 'userDetail.education', 'userDetail.awards', 'userDetail.publications']) ->beginWithWildcard() ->orderByRelevance() ->includeModelType()