Fixing #209
This commit is contained in:
parent
90ed83c821
commit
d11bb96bd4
1 changed files with 2 additions and 0 deletions
|
@ -324,6 +324,8 @@ class LatestPostsPlugin(BasePostPlugin):
|
|||
def copy_relations(self, oldinstance):
|
||||
for tag in oldinstance.tags.all():
|
||||
self.tags.add(tag)
|
||||
for category in oldinstance.categories.all():
|
||||
self.categories.add(category)
|
||||
|
||||
def get_posts(self, request):
|
||||
posts = self.post_queryset(request)
|
||||
|
|
Loading…
Reference in a new issue