From a81caf66b86ceef130906e8c70d3a262f64a2bee Mon Sep 17 00:00:00 2001 From: p31729568 Date: Fri, 19 Jul 2019 18:12:32 +0800 Subject: [PATCH] modify search api --- app/models/searchable/shixun.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/searchable/shixun.rb b/app/models/searchable/shixun.rb index bc19967a2..a564be388 100644 --- a/app/models/searchable/shixun.rb +++ b/app/models/searchable/shixun.rb @@ -47,7 +47,8 @@ module Searchable::Shixun author_name: user.real_name, author_school_name: user.school_name, visits_count: visits, - challenges_count: challenges_count + challenges_count: challenges_count, + study_count: myshixuns_count } end