Skip to content

Commit

Permalink
add the missing FilterField for localized snippet filtering (#7414)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pomax authored and stevedya committed Sep 21, 2021
1 parent 23e218a commit 63794b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions network-api/networkapi/wagtailpages/pagemodels/products.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ class Update(TranslatableMixin, index.Indexed, models.Model):

search_fields = [
index.SearchField('title', partial_match=True),
index.FilterField('locale_id'),
]

translatable_fields = [
Expand Down

0 comments on commit 63794b1

Please sign in to comment.