followup to 0c99cbfaac
list of filters now
This commit is contained in:
parent
93afb4e465
commit
cb55ebaf4c
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue