merged in my branch 'resources', which is not aptly named anymore since it no longer...
[zzz-floof.git] / floof / controllers / search.py
index e27e5c8..57ff4d2 100644 (file)
@@ -40,7 +40,7 @@ class SearchController(BaseController):
     # TODO: login required
     def display(self, id):
         c.search = h.get_object_or_404(SavedSearch, id=id)
-        c.gallery = GalleryWidget(search=c.search, displayer=c.user)
+        c.gallery = GalleryWidget(search=c.search, page=c.user.primary_page)
         elixir.session.commit()
         redirect(url(controller="users", action="view", name=c.user.name))