lib/ddr/models/indexing.rb in ddr-models-2.0.0.pre.4 vs lib/ddr/models/indexing.rb in ddr-models-2.0.0.pre.5

- old
+ new

@@ -9,24 +9,25 @@ solr_doc.merge index_fields end def index_fields fields = { - TITLE => title_display, - INTERNAL_URI => internal_uri, - IDENTIFIER_ALL => all_identifiers, - WORKFLOW_STATE => workflow_state, - LOCAL_ID => local_id, - ADMIN_SET => admin_set, - DISPLAY_FORMAT => display_format, - PERMANENT_ID => permanent_id, - PERMANENT_URL => permanent_url, - ACCESS_ROLE => roles.to_json, - RESOURCE_ROLE => roles.in_resource_scope.agents, - POLICY_ROLE => roles.in_policy_scope.agents, - CREATOR_FACET => creator, - DATE_FACET => date, - DATE_SORT => date_sort + TITLE => title_display, + INTERNAL_URI => internal_uri, + IDENTIFIER_ALL => all_identifiers, + WORKFLOW_STATE => workflow_state, + LOCAL_ID => local_id, + ADMIN_SET => admin_set, + DISPLAY_FORMAT => display_format, + PERMANENT_ID => permanent_id, + PERMANENT_URL => permanent_url, + ACCESS_ROLE => roles.to_json, + RESOURCE_ROLE => roles.in_resource_scope.agents, + POLICY_ROLE => roles.in_policy_scope.agents, + CREATOR_FACET => creator, + DATE_FACET => date, + DATE_SORT => date_sort, + RESEARCH_HELP_CONTACT => research_help_contact } if respond_to? :fixity_checks last_fixity_check = fixity_checks.last fields.merge!(last_fixity_check.to_solr) if last_fixity_check end