From f6e7101350092741a3b5e37f0d0a35a2c53c3506 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Mon, 5 Feb 2024 18:16:02 +0100
Subject: [PATCH] fix

---
 app/models/communication/website/with_connected_objects.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/models/communication/website/with_connected_objects.rb b/app/models/communication/website/with_connected_objects.rb
index 62a4654e3..9f2488799 100644
--- a/app/models/communication/website/with_connected_objects.rb
+++ b/app/models/communication/website/with_connected_objects.rb
@@ -89,9 +89,9 @@ module Communication::Website::WithConnectedObjects
     University::Organization.where(id: ids)
   end
 
-  def connected_hal_publications
-    ids = connections.where(indirect_object_type: 'Research::Hal::Publication').pluck(:indirect_object_id)
-    Research::Hal::Publication.where(id: ids)
+  def connected_publications
+    ids = connections.where(indirect_object_type: 'Research::Publication').pluck(:indirect_object_id)
+    Research::Publication.where(id: ids)
   end
 
   # ensure the object "website" respond to both is_direct_object? and is_indirect_object? as website doesn't include neither as_direct_object nor as_indirect_object
-- 
GitLab