Skip to content

Commit

Permalink
Add cell phone in tourinsoft_v3_sirtaqui
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed May 4, 2024
1 parent cf5618e commit 87fee4e
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 @@ -161,7 +161,7 @@ def map_tags(feat)
description: { fr: jp_first(r, '.DescriptionsCommercialess[*].Descriptioncommerciale') || jp_first(r, '.DESCRIPTIFSCOMMERCIALs[*].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")]')&.pluck('CoordonneesTelecom')&.compact_blank,
phone: jp(r, '.MoyensDeComs[*][?(@.TypedaccesTelecom.ThesLibelle=="Téléphone filaire" || @.TypedaccesTelecom.ThesLibelle=="Téléphone cellulaire")]')&.pluck('CoordonneesTelecom')&.compact_blank,
email: jp(r, '.MoyensDeComs[*][?(@.TypedaccesTelecom.ThesLibelle=="Mél")]')&.pluck('CoordonneesTelecom')&.compact_blank,
facebook: valid_url(id, :facebook, jp_first(r, '.ReseauxSociauxs[*].Facebook')),
twitter: valid_url(id, :twitter, jp_first(r, '.ReseauxSociauxs[*].X')),
Expand Down

0 comments on commit 87fee4e

Please sign in to comment.