Skip to content

Commit

Permalink
calculate languageCode on api reports
Browse files Browse the repository at this point in the history
  • Loading branch information
scottqueen-bixal committed Jan 23, 2024
1 parent 83f7670 commit 58ff0db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/process-results/result-totals-calculator.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ const calculateTotals = (result) => {
column: "language",
result,
})
totals.languageCode = _sumVisitsByColumn({
column: "languageCode",
result,
})
}
if (result.name.match(/^devices/)) {
totals.devices = _sumVisitsByColumn({
Expand Down

0 comments on commit 58ff0db

Please sign in to comment.