--- a/candolint/models.py Mon Sep 18 17:12:03 2017 +0800+++ b/candolint/models.py Mon Sep 18 18:52:34 2017 +0800@@ -97,6 +97,7 @@ order_by = ('-finished', '-ordinal') indexes = ( (('ordinal', 'project'), True),+ (('project', 'finished', 'ordinal'), True) ) def get_duration(self):