summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--layerindex/views.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/TODO b/TODO
index 167715dbce..a0c8a5012b 100644
--- a/TODO
+++ b/TODO
@@ -38,5 +38,4 @@ Other
* Update script could send warnings when parsing layers to maintainers? (optional)
* Click on OE-Classic graph element to go to query?
* Use bar instead of pie graphs for OE-Classic statistics
-* Ensure OE-Core appears before meta-oe in layer list
* Ability for reviewers to comment before publishing a layer?
diff --git a/layerindex/views.py b/layerindex/views.py
index af1b112c5c..0f73e93e4b 100644
--- a/layerindex/views.py
+++ b/layerindex/views.py
@@ -279,7 +279,7 @@ class LayerListView(ListView):
def get_queryset(self):
_check_url_branch(self.kwargs)
- return LayerBranch.objects.filter(branch__name=self.kwargs['branch']).filter(layer__status='P').order_by('layer__layer_type', 'layer__name')
+ return LayerBranch.objects.filter(branch__name=self.kwargs['branch']).filter(layer__status='P').order_by('layer__layer_type', '-layer__index_preference', 'layer__name')
def get_context_data(self, **kwargs):
context = super(LayerListView, self).get_context_data(**kwargs)