From 90b44f7cbbd1ef84b800b1d1ff6612d7bfaa60ca Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Thu, 6 Jul 2023 15:08:10 +0200
Subject: [PATCH] fix

---
 .../communication/blocks/components/organization/_edit.html.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/views/admin/communication/blocks/components/organization/_edit.html.erb b/app/views/admin/communication/blocks/components/organization/_edit.html.erb
index 4b67c59f0..3d2a0a7e2 100644
--- a/app/views/admin/communication/blocks/components/organization/_edit.html.erb
+++ b/app/views/admin/communication/blocks/components/organization/_edit.html.erb
@@ -1,5 +1,5 @@
 <% organizations = current_university.organizations
-                                      .for_language_id(current_university.default_language_id)
+                                      .for_language(block.language)
                                       .ordered %>
 <% unless label.blank? %>
   <label  class="form-label"
-- 
GitLab