forked from 0x2620/pandora
fix clips query for smart edits
This commit is contained in:
parent
a64c8d612b
commit
db06621528
1 changed files with 1 additions and 0 deletions
|
@ -201,6 +201,7 @@ class Edit(models.Model):
|
|||
clips = self.clips.all()
|
||||
else:
|
||||
clips = clip.models.Clip.objects.find({'query': self.clip_query()}, user)
|
||||
clips = clips.filter(item__in=self.get_items(user))
|
||||
return clips
|
||||
|
||||
def get_clips_json(self, user=None):
|
||||
|
|
Loading…
Reference in a new issue