|
|
|
@ -25,6 +25,7 @@ module Searchable::Course
|
|
|
|
|
author_school_name: teacher&.school_name,
|
|
|
|
|
visits_count: visits,
|
|
|
|
|
members_count: course_members_count,
|
|
|
|
|
tasks_count: homework_commons_count + exercises_count + polls_count,
|
|
|
|
|
is_public: is_public == 1,
|
|
|
|
|
first_category_url: ApplicationController.helpers.module_url(none_hidden_course_modules.first, self)
|
|
|
|
|
}
|
|
|
|
|