Skip to content

Commit

Permalink
ensure issue_count is passed to the templates
Browse files Browse the repository at this point in the history
  • Loading branch information
rosado committed Aug 14, 2024
1 parent 0043fe6 commit 813034f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/controllers/OrganisationsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const organisationsController = {
datasets.push({
slug: dataset,
endpoint: null,
issue_count: 0,
status: 'Not submitted'
})
}
Expand Down
3 changes: 2 additions & 1 deletion src/services/performanceDbApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ ORDER BY
const datasets = result.formattedData.reduce((accumulator, row) => {
accumulator[row.dataset] = {
endpoint: row.endpoint,
status: row.status
status: row.status,
issue_count: row.issue_count
}
return accumulator
}, {})
Expand Down

0 comments on commit 813034f

Please sign in to comment.