app/services/hyrax/statistics/works/count.rb in hyrax-2.0.0.beta4 vs app/services/hyrax/statistics/works/count.rb in hyrax-2.0.0.beta5
- old
+ new
@@ -41,10 +41,10 @@
end
private
def query_service
- @query_service ||= Hyrax::QueryService.new
+ @query_service ||= Hyrax::Statistics::QueryService.new
end
def by_date_and_permission
works_count = {}
works_count[:total] = query_service.find_by_date_created(start_date, end_date).count