From 7f0376dc0b13a7b1885f32e84daad7c0949b2d5f Mon Sep 17 00:00:00 2001 From: Kristian Garza Date: Wed, 6 Nov 2019 10:47:31 +0100 Subject: [PATCH] include changefor advataced citations per doi --- app/models/event.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/event.rb b/app/models/event.rb index 7fadeea8e..13b4c891a 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -323,7 +323,7 @@ def self.citations_aggregations(doi) } end - def self.advanced_aggregations + def self.advanced_aggregations(doi=nil) { unique_obj_count: { cardinality: { field: 'obj_id' }}, unique_subj_count: { cardinality: { field: 'subj_id' }}