update facet

This commit is contained in:
j 2012-02-14 12:03:11 +05:30
parent b6c51604a7
commit fbd401f09c

View file

@ -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()