diff --git a/frontend/templates/home.html b/frontend/templates/home.html index 04499a1d..b3291d0e 100755 --- a/frontend/templates/home.html +++ b/frontend/templates/home.html @@ -64,7 +64,7 @@ function put_un_in_cookie2(){ {% include "book_panel.html" %} {% endwith %}{% endwith %}{% endwith %} {% endfor %} - + {% endif %}{% endif %}
diff --git a/frontend/views.py b/frontend/views.py index 202f6cfc..5b17acfc 100755 --- a/frontend/views.py +++ b/frontend/views.py @@ -740,6 +740,8 @@ class CampaignListView(FilterableListView): return models.Campaign.objects.filter(status='ACTIVE').all() # STUB: will need to make db changes to make this work elif (facet == 'ending'): return models.Campaign.objects.filter(status='ACTIVE').order_by('deadline') + elif (facet == 'soon'): + return models.Campaign.objects.filter(status='INITIALIZED').order_by('-work__num_wishes') else: return models.Campaign.objects.all()