This commit is contained in:
j 2011-12-26 20:04:36 +05:30
parent 6524ceea8a
commit 926d9a352e

View file

@ -61,7 +61,7 @@ class Annotation(models.Model):
set_public_id = not self.id or not self.public_id set_public_id = not self.id or not self.public_id
layer = self.get_layer() layer = self.get_layer()
if self.value: if self.value:
self.value = utils.cleanup_value(self.value, self.layer['tyoe']) self.value = utils.cleanup_value(self.value, self.layer['type'])
self.findvalue = ox.stripTags(self.value).strip() self.findvalue = ox.stripTags(self.value).strip()
sortvalue = self.findvalue sortvalue = self.findvalue
sortvalue = sort_string(sortvalue) sortvalue = sort_string(sortvalue)