sort libraries by service description

Sort the libraries on the language bindings page by the service
description to be consistent with other sorted lists.

Change-Id: I391f18cc9f66acd710a194bee16d6e33d5d82485
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-07-10 16:18:08 -04:00
parent 1e81ac9e6b
commit f3c3eb970d

View File

@ -26,7 +26,7 @@
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="docs-link-sections">
<h3><i class="fa fa-book"></i> Bindings for the OpenStack APIs</h3>
{% for project in projects|sort(attribute='name') -%}
{% for project in projects|sort(attribute='service') -%}
{% if project.type == 'client' %}
<a href="/{{project.name}}/latest/">
{{project.service}} ({{project.description}})