diff --git a/scribeengine/controllers/blog.py b/scribeengine/controllers/blog.py index 2d43e18..3f87f02 100644 --- a/scribeengine/controllers/blog.py +++ b/scribeengine/controllers/blog.py @@ -74,7 +74,7 @@ class BlogController(BaseController): def tag(self, id=None): if not id: h.redirect_to('/') - c.tag = Session.query(Tag).filter_by(url=id).all() + c.tag = Session.query(Tag).filter_by(url=id).first() if not c.tag: h.redirect_to('/') c.page_title = u'Blog posts with tag: %s' % c.tag.name