Skip to content
Snippets Groups Projects
Commit 5cf0e061 authored by Martin Mareš's avatar Martin Mareš
Browse files

Export: Kraje třídíme česky

parent 3766da38
No related branches found
No related tags found
No related merge requests found
......@@ -143,8 +143,8 @@ def org_export_z_stats(year: int, seq: int):
regions = (sess.query(db.Place)
.filter_by(level=1)
.order_by(db.Place.code)
.all())
regions.sort(key=lambda p: locale.strxfrm(p.name or ""))
rounds = (sess.query(db.Round)
.filter(db.Round.category.like('Z%'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment