X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/db4c5f0b56d22815ecc31754271797b2401c9458..79cb1c0d3048c165fd3b9ff287ee1fbe361f904d:/floof/controllers/search.py?ds=sidebyside diff --git a/floof/controllers/search.py b/floof/controllers/search.py index 53343dd..63e20ec 100644 --- a/floof/controllers/search.py +++ b/floof/controllers/search.py @@ -1,9 +1,10 @@ import logging -from pylons import request, response, session, tmpl_context as c, h +from pylons import request, response, session, tmpl_context as c from pylons.controllers.util import abort, redirect from pylons import url +from floof.lib import helpers as h from floof.lib.base import BaseController, render from floof.lib.tags import parse @@ -20,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