stable

Clone or download

Read-only

Do not attempt to get the number of open prs when there are no prs

When fetching 1000 repo without any PRs it's 1000 useless SQL queries. I would have prefered to find a way to compute this number in one SQL query but it's beyond my current SQL skills. Part of story #10408 have a burning parrot git repository list Change-Id: I8307b5d121f3735005b518a38f911e09b3ad48c0

Modified Files

Name
A plugins/git/include/Git/Repository/AdditionalInformationRepresentationCache.php +47 −0 Go to diff View file
M plugins/git/include/REST/v1/RepositoryRepresentationBuilder.class.php +7 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Dao.php +11 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/GitRestRouteAdditionalInformations.php +57 −0 Go to diff View file
M plugins/pullrequest/include/pullrequestPlugin.class.php +17 −3 Go to diff View file