diff --git a/app/models/university/person/with_research.rb b/app/models/university/person/with_research.rb index 29c0812a6630f0075865fc2b9d4588a743cd7f9a..da728421fbd7de53f12f2a1a47ff7d044eb839c3 100644 --- a/app/models/university/person/with_research.rb +++ b/app/models/university/person/with_research.rb @@ -34,7 +34,7 @@ module University::Person::WithResearch end def import_research_hal_publications! - publications.clear + publications.hal.clear hal_authors.each do |author| # TODO manage same researcher in different universities publications.concat author.import_research_hal_publications!