diff mbox

[Branch,~linaro-validation/lava-dashboard/trunk] Rev 336: rewrite query to be a more supported format

Message ID 20120830021313.18983.75376.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Michael-Doyle Hudson Aug. 30, 2012, 2:13 a.m. UTC
------------------------------------------------------------
revno: 336
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Thu 2012-08-30 14:12:14 +1200
message:
  rewrite query to be a more supported format
modified:
  dashboard_app/views.py


--
lp:lava-dashboard
https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk

You are subscribed to branch lp:lava-dashboard.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'dashboard_app/views.py'
--- dashboard_app/views.py	2012-07-18 05:20:11 +0000
+++ dashboard_app/views.py	2012-08-30 02:12:14 +0000
@@ -920,7 +920,7 @@ 
             )
 
     test_runs = TestRun.objects.filter(
-        bundle_id__in=list(bundle_id_to_data),
+        bundle__id__in=list(bundle_id_to_data),
         ).select_related(
         'bundle', 'denormalization', 'test').prefetch_related(
         'launchpad_bugs')