lib/ddr/models/solr_document.rb in ddr-models-2.3.2 vs lib/ddr/models/solr_document.rb in ddr-models-2.4.0.rc1
- old
+ new
@@ -187,10 +187,10 @@
Ddr::Auth::EffectivePermissions.call(self, agents)
end
def research_help
research_help_contact = self[Ddr::Index::Fields::RESEARCH_HELP_CONTACT] || inherited_research_help_contact
- Ddr::Contacts.get(research_help_contact) if research_help_contact
+ Ddr::Models::Contact.call(research_help_contact) if research_help_contact
end
def parent_uri
is_part_of || is_member_of_collection
end