#2900 Properly retrieve the number of projects and forks users have
Merged by pingou. Opened by pingou.
fix_user_page_cnt  into  master

Download 2900.patch

On the user's public page we are using the limit and offset restriction
on the query that is retrieving the list of projects and forks.
So we would retrieve X projects and make the list of the user's project
be of length X completely by-passing the pagination we added...

Fixes https://pagure.io/pagure/issue/2881

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

Maybe some unit test could be useful ?

Otherwise LGTM

rebased onto c77934e481b30f56e001266306bbd19c08c00602

1 new commit added

  • Add tests to check the pagination works as expected

Nice :thumbsup:

Thanks! :)

Pull-Request has been merged by pingou

Metadata