app/models/hierarchy_entry.rb
# This is only used by #agents_roles, to add it to the list when it's actually
# there. Don't use this to get an Agent.
This is only used by #agents_roles, to add it to the list when it's actually
there. Don't use this to get an Agent.
This is only used by #agents_roles to add it to the list when it ' s actually there . Don ' t use this to get an Agent .
def agent_from_hierarchy
    if h_agent = hierarchy.agent
      h_agent.full_name = hierarchy.label
      AgentsHierarchyEntry.new(hierarchy_entry: self, agent: h_agent,
                               agent_role: AgentRole.source, view_order: 0)
    else
      nil
    end
  end
def agent_from_hierarchy if h_agent = hierarchy . agent h_agent . full_name = hierarchy . label AgentsHierarchyEntry . new ( hierarchy_entry : self , agent : h_agent , agent_role : AgentRole . source , view_order : 0 ) else nil end end
This is only used by #agents_roles, to add it to the list when it's actually
there.
This is only used by #agents_roles to add it to the list when it ' s actually there .
# To change the name from just "Catalogue of Life"