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()