Skip to content

Commit

Permalink
disable metrics aggregation for admin. #390
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Feb 3, 2020
1 parent 729abb5 commit a664a6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/controllers/providers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ def show
clients = client_count(provider_id: nil)
dois = doi_count(provider_id: nil)
resource_types = resource_type_count(provider_id: nil)
citations = citation_count(provider_id: nil)
views = view_count(provider_id: nil)
downloads = download_count(provider_id: nil)
citations = nil # citation_count(provider_id: nil)
views = nil # view_count(provider_id: nil)
downloads = nil # download_count(provider_id: nil)
elsif @provider.member_type == "consortium"
providers = provider_count(consortium_id: params[:id])
clients = client_count(consortium_id: params[:id])
Expand Down

0 comments on commit a664a6e

Please sign in to comment.