summaryrefslogtreecommitdiff
path: root/templates/pages
diff options
context:
space:
mode:
Diffstat (limited to 'templates/pages')
-rw-r--r--templates/pages/show.mako2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/pages/show.mako b/templates/pages/show.mako
index f721f13..06a9915 100644
--- a/templates/pages/show.mako
+++ b/templates/pages/show.mako
@@ -4,7 +4,7 @@
% if len(exps) > 1:
<h2>${get_d(e)}</h2>
% endif
- % for c in e.catexps:
+ % for c in sorted(e.catexps, key = lambda c: c.cat.name):
<%self:detail name="${c.cat.name}" sum="${c.expense}" set="${c.all}" args="exp">
<a href=${"/edit/%s" % exp.id | url}>${exp.day}.${exp.month}. -- ${exp.description}: ${exp.expense | eur}</a>
</%self:detail>