Fix 'next' button on duplicates listing

This commit is contained in:
ketralnis
2009-06-24 10:02:03 -07:00
parent 56e3d167d7
commit 98fdc7bd6e

View File

@@ -342,11 +342,12 @@ class FrontController(RedditController):
@base_listing
@validate(article = VLink('article'))
def GET_duplicates(self, article):
def GET_duplicates(self, article, num, after, reverse, count):
links = link_duplicates(article)
builder = IDBuilder([ link._fullname for link in links ],
skip = False)
num = num, after = after, reverse = reverse,
count = count, skip = False)
listing = LinkListing(builder).listing()
res = LinkInfoPage(link = article,
@@ -356,6 +357,7 @@ class FrontController(RedditController):
subtitle = _('other discussions')).render()
return res
@base_listing
@validate(query = nop('q'))
def GET_search_reddits(self, query, reverse, after, count, num):