Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
search: Make 'flair' a searchable field again
Browse files Browse the repository at this point in the history
  • Loading branch information
kemitche committed Oct 9, 2012
1 parent a392ef2 commit dca1431
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions r2/r2/lib/cloudsearch.py
Expand Up @@ -267,6 +267,10 @@ def flair_css_class(self):
def flair_text(self):
return self.link.flair_text

@field(cloudsearch_type=None, lucene_type=str)
def flair(self):
return NotImplemented


class SubredditFields(FieldsBase):
def __init__(self, sr):
Expand Down

0 comments on commit dca1431

Please sign in to comment.