Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacug committed Jun 10, 2020
2 parents 891435b + 7e459d5 commit 408ee66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/material_doc_ids_retriever.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def self.run(params)
end

anc_ids = []
anc_ids = ancestors_ids(exact_match.try(:id), params['taxon_name'], exact_match).uniq if ids.include?(exact_match.id)
anc_ids = ancestors_ids(exact_match.try(:id), params['taxon_name'], exact_match).uniq if ids.include?(exact_match.try(:id))
anc_ids | ids
elsif params['taxon_concept_id'].present?
# retrieve all the ancestors taxa given a taxon(included)
Expand Down

0 comments on commit 408ee66

Please sign in to comment.