[FIX] website_forum: tag pager url
When browsing a tag, the pager url was not matching the route of the controller
This commit is contained in:
parent
ad4c6caecf
commit
eb42616b98
|
@ -120,7 +120,7 @@ class WebsiteForum(http.Controller):
|
|||
|
||||
question_count = Post.search(cr, uid, domain, count=True, context=context)
|
||||
if tag:
|
||||
url = "/forum/%s/%s/questions" % (slug(forum), slug(tag))
|
||||
url = "/forum/%s/tag/%s/questions" % (slug(forum), slug(tag))
|
||||
else:
|
||||
url = "/forum/%s" % slug(forum)
|
||||
|
||||
|
|
Loading…
Reference in New Issue