From cb55ebaf4cf8097f87de1e46869ca5e90c9ad9aa Mon Sep 17 00:00:00 2001 From: j Date: Thu, 9 Aug 2018 15:47:29 +0100 Subject: [PATCH] followup to 0c99cbfaac158faa31c888ff20120ee2d1345624 list of filters now --- pandora/clip/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora/clip/models.py b/pandora/clip/models.py index 64639bdd..76cc4588 100644 --- a/pandora/clip/models.py +++ b/pandora/clip/models.py @@ -117,7 +117,8 @@ class MetaClip(object): #annotations = self.annotations.filter(layer__in=settings.CONFIG['clipLayers']) annotations = self.annotations.all() if qs: - annotations = annotations.filter(qs) + for q in qs: + annotations = annotations.filter(q) entity_cache = {} j['annotations'] = [ a.json(keys=['value', 'id', 'layer'], entity_cache=entity_cache) for a in annotations