salut,
je n'arrive pas a afficher les résultats des votes pour des documents d'un article,
celà fonctionne pour des articles d'une rubrique avec (ARTICLES){id_rubrique}{notation}{par moyenne_ponderee}
mais (DOCUMENTS){id_article}{notation}{par moyenne_ponderee} donne
*Erreur SQL*
documents.id_document, COUNT(notations.note) AS nombre_votes, ROUND(AVG(notations.note),2) AS moyenne, ROUND(AVG(notations.note)*(1-EXP(-5*COUNT(notations.note)/20)),2) AS moyenne_ponderee, documents.fichier, documents.titre, documents.date, documents.id_document FROM spip_documents AS `documents` LEFT JOIN spip_documents_liens AS l ON documents.id_document=l.id_document LEFT...................
une idée? merci