1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-03 01:40:07 +00:00

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>
This commit is contained in:
Belen Barros Pena
2014-02-19 10:35:27 +00:00
committed by Richard Purdie
parent 5a5e7c0a68
commit 48a93d6452
@@ -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>