From fbe844ace5fb1552d39f59fe9867583313a821e7 Mon Sep 17 00:00:00 2001 From: Sandy Walsh Date: Mon, 5 Nov 2012 11:31:22 -0400 Subject: [PATCH] sub-region gui selection works again --- stacktach/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stacktach/views.py b/stacktach/views.py index 8c73626..b8031d2 100644 --- a/stacktach/views.py +++ b/stacktach/views.py @@ -233,7 +233,7 @@ def details(request, deployment_id, column, row_id): value = getattr(row, column) rows = models.RawData.objects.select_related() if deployment_id: - row = row.filter(deployment=deployment_id) + rows = rows.filter(deployment=deployment_id) if column != 'when': rows = rows.filter(**{column:value}) else: