Skip to content
Snippets Groups Projects
Commit 4358bba4 authored by pabois's avatar pabois
Browse files

adjust organization importer

parent d04a97d4
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ module Importers
def organization
unless @organization
@organization = University::Organization.where(university_id: @university.id, name: organization_name).first_or_initialize
@organization = University::Organization.where(university_id: @university.id, language_id: @university.default_language_id, name: organization_name).first_or_initialize
@organization.long_name = @long_name
@organization.kind = @kind.to_sym
@organization.siren = @siren
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment