Skip to content

Commit

Permalink
Revert "Fix tourinsoft_v3_sirtaqui description map_tags"
Browse files Browse the repository at this point in the history
This reverts commit 0b4acf6.
  • Loading branch information
frodrigo committed May 10, 2024
1 parent aafebe7 commit 7b1ad3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datasources/sources/tourinsoft_v3_sirtaqui.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def map_tags(feat)
'FR:CRTA': id,
},
name: { fr: r['SyndicObjectName'] }.compact_blank,
description: { fr: jp_first(r, '.DescriptionsCommercialess[*].Descriptioncommerciale') || jp_first(r, '.DESCRIPTIFSCOMMERCIALs[*].Descriptioncommerciale') }.compact_blank,
description: { fr: jp_first(r, '.DescriptionsCommercialess[*].Descriptioncommerciale') }.compact_blank,
website: jp(r, '.MoyensDeComs[*][?(@.TypedaccesTelecom.ThesLibelle=="Site web (URL)")]')&.pluck('CoordonneesTelecom')&.compact_blank,
'website:details': { fr: @settings.website_details_url&.gsub('{{id}}', r['SyndicObjectID']) }.compact_blank,
phone: jp(r, '.MoyensDeComs[*][?(@.TypedaccesTelecom.ThesLibelle=="Téléphone filaire" || @.TypedaccesTelecom.ThesLibelle=="Téléphone cellulaire")]')&.pluck('CoordonneesTelecom')&.compact_blank,
Expand Down

0 comments on commit 7b1ad3d

Please sign in to comment.