add fts_fields for emailer
This commit is contained in:
parent
9d09df5e30
commit
ddf7de3840
|
@ -7,6 +7,7 @@ class EmailerIssue(ItfModel):
|
|||
date = models.DateField()
|
||||
issue_no = models.IntegerField()
|
||||
published = models.BooleanField(default=False)
|
||||
fts_fields = ['title', 'emailerarticle__text']
|
||||
|
||||
def __unicode__(self):
|
||||
return self.title
|
||||
|
@ -14,6 +15,8 @@ class EmailerIssue(ItfModel):
|
|||
class Meta:
|
||||
ordering = ['-issue_no']
|
||||
|
||||
|
||||
|
||||
def info_dict(self):
|
||||
return {
|
||||
'issue': self,
|
||||
|
|
Loading…
Reference in New Issue
Block a user