griffithlab / civic-server

Backend Server for CIViC Project
MIT License
39 stars 32 forks source link

Fix org stats to count correctly by Event org and not by users #625

Closed susannasiebert closed 4 years ago

susannasiebert commented 4 years ago

Closes https://github.com/griffithlab/civic-client/issues/1433

Previously, we would take all of the users of an organization and add their stats together. Now that a user can be part of multiple orgs we need to actually look at the Event and only count the one attribute to this organization.

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 2457


Totals Coverage Status
Change from base Build 2452: 0.02%
Covered Lines: 2104
Relevant Lines: 2345

💛 - Coveralls