Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Fixed duplicate sites on landing dashboard (bug 603430).
Browse files Browse the repository at this point in the history
killed some trailing ws
  • Loading branch information
x1B committed Oct 22, 2010
1 parent 8bea6c8 commit 08223de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/dashboard/views.py
Expand Up @@ -21,11 +21,11 @@ def dashboard(request):
# Defaults
app = request.default_app
version = simplify_version(LATEST_BETAS[app])
num_days = 1
num_days = 1
dashboard_defaults = {
'product': app.short,
'version': version,
'num_days': "%s%s" % (num_days, 'd'),
'num_days': "%s%s" % (num_days, 'd'),
}

# Frequent terms
Expand All @@ -43,7 +43,7 @@ def dashboard(request):

# Sites clusters
sites = SiteSummary.objects.filter(version__exact='<day>').filter(
positive__exact=None)[:settings.TRENDS_COUNT]
positive__exact=None).filter(os__exact=None)[:settings.TRENDS_COUNT]

# search form to generate various form elements.
search_form = ReporterSearchForm()
Expand Down

0 comments on commit 08223de

Please sign in to comment.