forked from e621ng/e621ng
Add missing post index items
This commit is contained in:
parent
647f3f59e3
commit
aa7f443555
@ -22,6 +22,7 @@ module PostIndex
|
||||
indexes :tag_count_copyright, type: 'integer'
|
||||
indexes :tag_count_meta, type: 'integer'
|
||||
indexes :tag_count_species, type: 'integer'
|
||||
indexes :tag_count_invalid, type: 'integer'
|
||||
indexes :comment_count, type: 'integer'
|
||||
|
||||
indexes :file_size, type: 'integer'
|
||||
@ -178,6 +179,8 @@ module PostIndex
|
||||
tag_count_character: tag_count_character,
|
||||
tag_count_copyright: tag_count_copyright,
|
||||
tag_count_meta: tag_count_meta,
|
||||
tag_count_species: tag_count_species,
|
||||
tag_count_invalid: tag_count_invalid,
|
||||
# tag_count_species: tag_count_species,
|
||||
comment_count: options[:comment_count] || Comment.where(post_id: id).count,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user