aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcedricnjanga2017-09-28 16:58:09 +0200
committercedricnjanga2017-09-28 18:15:01 +0200
commitbac0c6870aa95875be6e03ce14f91b79c7fc57f1 (patch)
treec0907db46d691d9bc2331f55e80ae19762331f5c
parent40c8df4c8594f13176d1ab58d972e40e0d6695a2 (diff)
downloadchouette-core-bac0c6870aa95875be6e03ce14f91b79c7fc57f1.tar.bz2
Refs #4622 Change the provider_id of the objectid : Use the organisation instead of its name
-rw-r--r--app/models/concerns/stif_netex_attributes_support.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/stif_netex_attributes_support.rb b/app/models/concerns/stif_netex_attributes_support.rb
index 0d569b613..076acf491 100644
--- a/app/models/concerns/stif_netex_attributes_support.rb
+++ b/app/models/concerns/stif_netex_attributes_support.rb
@@ -49,7 +49,7 @@ module StifNetexAttributesSupport
end
def provider_id
- self.referential.workbench.organisation.name.parameterize.underscore
+ self.referential.workbench.organisation.code.underscore.parameterize
end
def boiv_id