diff options
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 53f4e1c11..ab70faaa0 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2904,10 +2904,12 @@ post_delete.connect(post_save_cache, sender=AuthorType)  class Author(FullSearch): +    PARENT_SEARCH_VECTORS = ['person'] +    SLUG = "author" +      person = models.ForeignKey(Person, verbose_name=_(u"Person"),                                 related_name='author')      author_type = models.ForeignKey(AuthorType, verbose_name=_(u"Author type")) -    PARENT_SEARCH_VECTORS = ['person']      class Meta:          verbose_name = _(u"Author") | 
