Problem/Motivation
The summary of organisational contribution credits appears to be based on the first page of the pager, hence it misses the majority of credits.
https://www.drupal.org/third-and-grove#org-page-issue-credit This shows '1080' issue credits, but the summary below is suspiciously low, and corresponds to the first page of https://www.drupal.org/node/2373279/issue-credits
I tried to check the page for Third and Grove's Drupal core credit page but that's currently a 500, OOM maybe?
https://www.drupal.org/node/2373279/issue-credits/3060
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | Screenshot 2025-09-10 at 11.46.26.png | 85.27 KB | fjgarlin |
| Screenshot from 2025-09-09 16-18-01.png | 146.37 KB | catch |
Issue fork drupalorg-3545749
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3545749-link-text
changes, plain diff MR !398
- 3545749-organisation-credit-counts
compare
Comments
Comment #2
drummRe 500 errors - right now the issue credit listings are especially fragile, since the D7 site makes HTTP requests to the new site as part of its own page rendering. We have lowered the timeout when making the Guzzle requests in D7, so that should limit the 500 errors, but if we missed something, or we’re making 4 requests that use most of their allowed 10s, that will 500. The setup is indeed fragile. Rather than sinking time into making this work better, we should get the Views moved: #3545771: Move issue credit listings to new.drupal.org
Comment #3
drummhttps://www.drupal.org/node/2373279/issue-credits is paged, showing the first 50 issues, with 21 more pages. So everything is consistent as far as I can tell. This is all counting just the last 12 months, which is what currently matters for rankings and program eligibility.
Is there something I might be missing or an approximate number you expect to see?
Comment #4
catchThe screenshot attached to the issue summary is for https://www.drupal.org/third-and-grove#org-page-issue-credit, it shows 9 Drupal core core issue credits for the last year. The correct number is somewhere between 500 and 1,000, I don't know because the summary is broken, hence this issue...
When you click through to https://www.drupal.org/node/2373279/issue-credits the last five issues on that page are Drupal core, which matches the 5 issues shown on the summary. This suggests that the summary is generated only from the first page of the pager.
e.g. page 8 of that view shows Drupal core credits from April https://www.drupal.org/node/2373279/issue-credits?page=8
I would expect the high level credit summary to list all credits for each project listed (and probably every project too), pretty sure this is how it used to work prior to the new credit system.
Comment #5
fjgarlin commentedThat is correct. What's shown in that summary is the first page aggregated data, and the first page only includes 5 Drupal core credits.
We cannot get a full count per project without requesting all pages via http requests. The data is correct, it's just the way it's being rendered.
Maybe we can move from:
To
or
or
This would be a quick formatting change, where we remove the innacurate number, and then we can focus the big efforts on #3545771: Move issue credit listings to new.drupal.org.
Comment #6
fjgarlin commentedComment #8
catchYeah removing the counts for now sounds fine - the total across all projects is listed on the organisation page anyway.
Comment #10
fjgarlin commentedMR: https://git.drupalcode.org/project/drupalorg/-/merge_requests/398/diffs
Test URL: https://fjgarlin-drupal.dev.devdrupal.org/third-and-grove#org-page-issue...
Looks like this:

Comment #12
drummI finally decided on a wording and this is deployed. With #3545771: Move issue credit listings to new.drupal.org split off into a separate issue, I think this is now fixed. Please reopen if I missed anything.