|
|
@ -18,6 +18,8 @@ module Searchable::Subject
|
|
|
|
def search_data
|
|
|
|
def search_data
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: name,
|
|
|
|
name: name,
|
|
|
|
|
|
|
|
status: status,
|
|
|
|
|
|
|
|
hidden: hidden,
|
|
|
|
description: Util.extract_content(description)[0..Searchable::MAXIMUM_LENGTH],
|
|
|
|
description: Util.extract_content(description)[0..Searchable::MAXIMUM_LENGTH],
|
|
|
|
shixuns_count: shixuns_count,
|
|
|
|
shixuns_count: shixuns_count,
|
|
|
|
myshixuns_count: member_count,
|
|
|
|
myshixuns_count: member_count,
|
|
|
|