Removed some reliance on the logged-in user.
[zzz-floof.git] / floof / controllers / search.py
index 8617966..63e20ec 100644 (file)
@@ -21,7 +21,7 @@ class SearchController(BaseController):
             return self.save()
 
         c.query = request.params.get('query', '')
-        c.artwork = parse(c.query).all()
+        c.artwork = parse(c.query, me=c.user).all()
         return render('/index.mako')
 
     # TODO: login required