# HG changeset patch # User Thomas De Schampheleire # Date 2015-04-20 21:33:26 # Node ID bd4f453a00553ed0ea3016596621106293acbf7d # Parent 991308f4997919f232dcef514e84a541f9191d6f pullrequest overview: fix missing pager links Commit 0f9a48e0adc3 refactored the pullrequest overview pages, but has a bug causing no more than 10 pull requests to be shown, without pager links. The code assumed that 'pager' was a variable, rather than a method, of the pullrequests structure. diff --git a/kallithea/templates/pullrequests/pullrequest_data.html b/kallithea/templates/pullrequests/pullrequest_data.html --- a/kallithea/templates/pullrequests/pullrequest_data.html +++ b/kallithea/templates/pullrequests/pullrequest_data.html @@ -82,7 +82,7 @@ -%if pager in pullrequests: +%if pullrequests.pager:
${pullrequests.pager('$link_previous ~2~ $link_next', **request.GET.mixed())}