diff --git a/app/models/research/hal/author.rb b/app/models/research/hal/author.rb index 5ed274912f71d62baff7f6a6f7475c7b3df59391..4db356faaf84186dbf974b2933754b865e78c3c3 100644 --- a/app/models/research/hal/author.rb +++ b/app/models/research/hal/author.rb @@ -65,7 +65,7 @@ class Research::Hal::Author < ApplicationRecord end def import_research_hal_publications! - publications.clear + publications.hal.clear # Do not overuse the API if no researcher is concerned return if researchers.none? Importers::Hal.import_publications_for_author(self).each do |publication|