Modèle:Recherche : Différence entre versions

Ligne 2 : Ligne 2 :
 
{{#cargo_query:table=Sequences
 
{{#cargo_query:table=Sequences
 
|fields=_pageName,titre,dateDebut,dateFin,apercu,idSupport,lieuTournage
 
|fields=_pageName,titre,dateDebut,dateFin,apercu,idSupport,lieuTournage
|where=titre LIKE "%{{{expression|}}}%" AND lieuTournage NEAR ({{{lieu|}}}, {{{rayon|}}}) {{#if:{{{thematique|}}}|AND thematique HOLDS WITHIN "{{{thematique}}}"|}} {{#if:{{{dateDebut|}}}|AND dateDebut > {{{dateDebut}}}|}} {{#if:{{{dateFin|}}}|AND dateFin < {{{dateFin|2000}}}|}}
+
|where=titre LIKE "%{{{expression|}}}%" AND lieuTournage NEAR ({{{lieu|}}}, {{{rayon|}}}) {{#if:{{{thematique|}}}|AND thematique HOLDS WITHIN "{{{thematique}}}"|}} {{#if:{{{dateDebut|}}}|AND dateDebut > {{FormatDate|{{{dateDebut}}}}}|}} {{#if:{{{dateFin|}}}|AND dateFin < {{FormatDate|{{{dateFin}}}}}|}}
 
|group by=_pageName
 
|group by=_pageName
 
}}
 
}}

Version du 27 septembre 2018 à 16:20

(, km)

Error: value for the 'NEAR' operator must be of the form "(latitude, longitude, distance)".