Commit 69a3053f authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

valid_images: order_by target__name

parent 06625e50
Pipeline #958 passed with stages
in 47 seconds
...@@ -635,7 +635,7 @@ class Robotpkg(NamedModel): ...@@ -635,7 +635,7 @@ class Robotpkg(NamedModel):
self.save() self.save()
def valid_images(self): def valid_images(self):
return self.image_set.filter(created__isnull=False, target__active=True).name_ordered() return self.image_set.filter(created__isnull=False, target__active=True).order_by('target__name')
# class RobotpkgBuild(TimeStampedModel): # class RobotpkgBuild(TimeStampedModel):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment