]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: toaster: Sort layers in alphabetical order
authorBelen Barros Pena <belen.barros.pena@intel.com>
Fri, 21 Feb 2014 14:00:11 +0000 (14:00 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Mar 2014 13:59:38 +0000 (13:59 +0000)
In the Summary tab of the Configuration page, make
sure that the table of layers is sorted by layer name
in ascending alphabetical order.

(Bitbake rev: f339555df40307420ce80a4ef8cba1a4d284d380)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/toaster/toastergui/templates/configuration.html

index ddfa5af9ca23591aca5debb1fb18086fd6b5d85a..674f896b033eeb252a19d265fe5141d5f23ecb4b 100644 (file)
@@ -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>