Skip to content

Commit

Permalink
webdash: Sort build recipes in overview
Browse files Browse the repository at this point in the history
  • Loading branch information
ximion committed May 9, 2024
1 parent 4eeab0e commit 5624dc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/webdash/lkweb/osimages/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ def last_jobs_for_recipe(session, recipe):
@osimages.route('/')
def index():
with session_scope() as session:
recipes = session.query(ImageBuildRecipe).all()
recipes = (
session.query(ImageBuildRecipe).order_by(ImageBuildRecipe.suite.desc(), ImageBuildRecipe.name.desc()).all()
)

return render_template(
'osimages/index.html',
Expand Down

0 comments on commit 5624dc7

Please sign in to comment.