lib/ddr/models/solr_document.rb in ddr-models-2.0.0.rc1 vs lib/ddr/models/solr_document.rb in ddr-models-2.0.0.rc2
- old
+ new
@@ -264,10 +264,10 @@
def inherited_research_help_contact
if admin_policy_pid
query = ActiveFedora::SolrService.construct_query_for_pids([admin_policy_pid])
results = ActiveFedora::SolrService.query(query)
doc = results.map { |result| ::SolrDocument.new(result) }.first
- doc[Ddr::IndexFields::RESEARCH_HELP_CONTACT].first
+ doc[Ddr::IndexFields::RESEARCH_HELP_CONTACT]
end
end
end
end