Closed mfortini closed 8 years ago
@mfortini ma nel foglio elettronico c'è una colonna "approvato"? Parli del foglio generale o ce ne è un altro?
Nella cartella DB c'è un foglio che pesca da quello originale per poterlo pulire https://drive.google.com/folderview?id=0B6F5bbIgNBMFU0wyQUJvYV9SMGM
I fogli publish non sono ancora usati
Il sab 27 ago 2016, 09:57 Andrea Borruso notifications@github.com ha scritto:
@mfortini https://github.com/mfortini ma nel foglio elettronico c'è una colonna "approvato"? Parli del foglio generale o ce ne è un altro?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/emergenzeHack/terremotocentro/issues/18#issuecomment-242903277, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDcHqg-02_XF4hjYgmYf-snu6R7omrRks5qj-4FgaJpZM4JuV8d .
@mfortini nel tuo script di chiamata ai CSV potrestri mettere la query con verifica di approvazione direttamente nell'URL di chiamata.
Ad esempio per "contatti":
http://spreadsheets.google.com/tq?tqx=out:csv&tq=select%20A%2CB%2CC%2CD%2CE%2CF%2CG%2CH%2CI%2CJ%2CK%20where%20A%20%3D%27x%27&key=1WL5BuoKQRM560VNctYOeDeineLeBwP7vtFlwltasASM&gid=0
In cui dentro c'è
select A,B,C,D,E,F,G,H,I,J,K where A ='x'
Oppure fare direttamente un {% if %} nel template?
direi superato con #242
Attualmente i CSV ignorano il campo approvato. Inserire un if nel template per ignorare le voci non approvate.