summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/orm/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 03efac4943..4fa9f81e46 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -994,7 +994,7 @@ class Layer_Version(models.Model):
994 query |= Q(projectlayer__project=project) 994 query |= Q(projectlayer__project=project)
995 995
996 return sorted( 996 return sorted(
997 Layer_Version.objects.filter(layer__name = self.layer.name).filter(query).select_related('layer_source', 'layer'), 997 Layer_Version.objects.filter(layer__name = self.layer.name).filter(query).select_related('layer_source', 'layer').order_by("-id"),
998 key = lambda x: _get_ls_priority(x.layer_source), 998 key = lambda x: _get_ls_priority(x.layer_source),
999 reverse = True) 999 reverse = True)
1000 1000