Merge lp:~cjohnston/qa-dashboard/bootspeed-proper-sort into lp:qa-dashboard

Proposed by Chris Johnston
Status: Merged
Approved by: Chris Johnston
Approved revision: 730
Merged at revision: 729
Proposed branch: lp:~cjohnston/qa-dashboard/bootspeed-proper-sort
Merge into: lp:qa-dashboard
Diff against target: 21 lines (+2/-2)
1 file modified
bootspeed/api.py (+2/-2)
To merge this branch: bzr merge lp:~cjohnston/qa-dashboard/bootspeed-proper-sort
Reviewer Review Type Date Requested Status
Joe Talbott Approve
Review via email: mp+211595@code.launchpad.net

Commit message

We want to get the newest bootspeed results

To post a comment you must log in.
Revision history for this message
Joe Talbott (joetalbott) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bootspeed/api.py'
2--- bootspeed/api.py 2014-03-18 17:43:56 +0000
3+++ bootspeed/api.py 2014-03-18 18:09:40 +0000
4@@ -93,7 +93,7 @@
5 image__publish=True,
6 publish=True,
7 ).order_by(
8- 'image__build_number'
9+ '-image__build_number'
10 )[:MAX_RESULTS]
11
12 last_releases = ImageMachineAgg.objects.filter(
13@@ -144,7 +144,7 @@
14 image__image_type='daily',
15 image__publish=True,
16 publish=True,
17- ).order_by('image__build_number')[:MAX_RESULTS]
18+ ).order_by('-image__build_number')[:MAX_RESULTS]
19
20 last_releases = ImageMachineAgg.objects.filter(
21 machine=machine_id,

Subscribers

People subscribed via source and target branches