summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-02-19 10:35:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-09 12:24:00 -0700
commit48a93d6452bda1fea3bd6adf7a19575cb5960afa (patch)
treec2bf8e49f543e568ba793cf3f4c7186bf6fde4d6 /bitbake/lib/toaster/toastergui/templates
parent5a5e7c0a687becdceac59682e9c7f356ad94b46e (diff)
downloadast2050-yocto-poky-48a93d6452bda1fea3bd6adf7a19575cb5960afa.zip
ast2050-yocto-poky-48a93d6452bda1fea3bd6adf7a19575cb5960afa.tar.gz
bitbake: toaster: Sort packages and dependencies in recipe.html
The tables in the Packages, Build dependencies and Reverse build dependencies tabs in the recipe details pages (template recipe.html) should be sorted by package name and recipe name respectively. This change adds the sorting. (Bitbake rev: ff6c448c7b5bc7bf4fe75e15e66c4e02f07f7618) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/recipe.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html b/bitbake/lib/toaster/toastergui/templates/recipe.html
index d2d6bc1..29c9728 100644
--- a/bitbake/lib/toaster/toastergui/templates/recipe.html
+++ b/bitbake/lib/toaster/toastergui/templates/recipe.html
@@ -154,7 +154,7 @@
</thead>
<tbody>
- {% for package in packages %}
+ {% for package in packages|dictsort:"name" %}
<tr>
<td><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.name}}</a></td>
@@ -188,7 +188,7 @@
</thead>
<tbody>
- {% for rr in object.r_dependencies_recipe.all %}
+ {% for rr in object.r_dependencies_recipe.all|dictsort:"depends_on.name" %}
<tr>
<td><a href="{% url "recipe" build.pk rr.depends_on.pk %}">{{rr.depends_on.name}}</a></td>
<td><a href="{% url "recipe" build.pk rr.depends_on.pk %}">{{rr.depends_on.version}}</a></td>
@@ -220,7 +220,7 @@
</thead>
<tbody>
- {% for rr in object.r_dependencies_depends.all %}
+ {% for rr in object.r_dependencies_depends.all|dictsort:"recipe.name" %}
<tr>
<td><a href="{% url "recipe" build.pk rr.recipe.pk %}">{{rr.recipe.name}}</a></td>
<td><a href="{% url "recipe" build.pk rr.recipe.pk %}">{{rr.recipe.version}}</a></td>
OpenPOWER on IntegriCloud