Fix an entrophy ploblem with custom attributes for epics in sample data

remotes/origin/issue/4795/notification_even_they_are_disabled
David Barragán Merino 2016-08-16 17:46:23 +02:00
parent 7611785c3b
commit e03de182f3
1 changed files with 1 additions and 1 deletions

View File

@ -521,7 +521,7 @@ class Command(BaseCommand):
epic.save()
custom_attributes_values = {str(ca.id): self.get_custom_attributes_value(ca.type) for ca
in project.epiccustomattributes.all() if self.sd.boolean()}
in project.epiccustomattributes.all().order_by("id") if self.sd.boolean()}
if custom_attributes_values:
epic.custom_attributes_values.attributes_values = custom_attributes_values
epic.custom_attributes_values.save()