Commits

Dan Carroll committed 6315ccb

Remove support for filtering activity view by type. Didn't expose this in the site, and it needed to be fixed after the activitysync refactoring anyway.

Comments (0)

Files changed (1)

mysite/activitysync/views.py

 from activitysync.paginator import InfinitePaginator
 
 def activity(request):
-    type = request.GET.get('type', '')
-    if type:
-        activity_list = Activity.objects.published().filter(source__exact=type)
-    else:
-        activity_list = Activity.objects.published().defer("username", "author", "comments", "guid")
+    activity_list = Activity.objects.published().defer("username", "author", "comments", "guid")
 
     # Make sure page request is an int.  If not, deliver first page.
     try: