From dffd5c71cedd03e8dd7d43dc4efeeae45fbdad14 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Tue, 6 Feb 2024 20:45:15 +0100
Subject: [PATCH] fix

---
 app/models/university/person/with_research.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/models/university/person/with_research.rb b/app/models/university/person/with_research.rb
index 29c0812a6..da728421f 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!
-- 
GitLab