update facet
This commit is contained in:
parent
b6c51604a7
commit
fbd401f09c
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ class Annotation(models.Model):
|
||||||
|
|
||||||
#update facets if needed
|
#update facets if needed
|
||||||
if filter(lambda f: f['id'] == self.layer, settings.CONFIG['filters']):
|
if filter(lambda f: f['id'] == self.layer, settings.CONFIG['filters']):
|
||||||
self.update_layer_facet(self.layer)
|
self.item.update_layer_facet(self.layer)
|
||||||
|
|
||||||
def cleanup_undefined_relations(self):
|
def cleanup_undefined_relations(self):
|
||||||
layer = self.get_layer()
|
layer = self.get_layer()
|
||||||
|
|
Loading…
Reference in a new issue