aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-02-21 14:00:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-17 13:59:28 +0000
commitf339555df40307420ce80a4ef8cba1a4d284d380 (patch)
tree2f711139c58bcdff88b2d8c881c6e20373f1e656 /lib
parent886a87de2d36382f40830c0d28fd2f55871d0993 (diff)
downloadbitbake-f339555df40307420ce80a4ef8cba1a4d284d380.tar.gz
toaster: Sort layers in alphabetical order
In the Summary tab of the Configuration page, make sure that the table of layers is sorted by layer name in ascending alphabetical order. Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/toaster/toastergui/templates/configuration.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/toaster/toastergui/templates/configuration.html b/lib/toaster/toastergui/templates/configuration.html
index ddfa5af9c..674f896b0 100644
--- a/lib/toaster/toastergui/templates/configuration.html
+++ b/lib/toaster/toastergui/templates/configuration.html
@@ -49,7 +49,7 @@
<th>Layer directory</th>
</tr>
</thead>
- <tbody>{% for lv in build.layer_version_build.all %}
+ <tbody>{% for lv in build.layer_version_build.all|dictsort:"layer.name" %}
<tr>
<td>{{lv.layer.name}}</td>
<td>{{lv.branch}}</td>