add topic_position to searchable fields list

This commit is contained in:
byte[] 2020-01-22 08:47:09 -05:00
parent 4dc8ab7b6c
commit 63b2a146ec

View file

@ -43,7 +43,7 @@ defmodule Philomena.Posts.Query do
defp anonymous_fields do defp anonymous_fields do
[ [
int_fields: ~W(id), int_fields: ~W(id topic_position),
date_fields: ~W(created_at updated_at), date_fields: ~W(created_at updated_at),
literal_fields: ~W(forum_id topic_id), literal_fields: ~W(forum_id topic_id),
ngram_fields: ~W(body subject), ngram_fields: ~W(body subject),