From c89de5e952883789dbaa5250408814cf493ad628 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Wed, 2 May 2012 13:33:00 -0700 Subject: [PATCH] Fixed a bug in statistics reporting --- .../astrid/service/abtesting/ABTestEventReportingService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/astrid/src/com/todoroo/astrid/service/abtesting/ABTestEventReportingService.java b/astrid/src/com/todoroo/astrid/service/abtesting/ABTestEventReportingService.java index bf4b91508..aa5e4a4ab 100644 --- a/astrid/src/com/todoroo/astrid/service/abtesting/ABTestEventReportingService.java +++ b/astrid/src/com/todoroo/astrid/service/abtesting/ABTestEventReportingService.java @@ -65,8 +65,7 @@ public final class ABTestEventReportingService { return; final TodorooCursor unreported = abTestEventDao.query(Query.select(ABTestEvent.PROPERTIES) .where(ABTestEvent.REPORTED.eq(0)) - .orderBy(Order.asc(ABTestEvent.TEST_NAME)) - .orderBy(Order.asc(ABTestEvent.TIME_INTERVAL))); + .orderBy(Order.asc(ABTestEvent.TEST_NAME), Order.asc(ABTestEvent.TIME_INTERVAL))); if (unreported.getCount() > 0) { new Thread(new Runnable() { @Override