Changeset 68044 in spip-zone


Ignore:
Timestamp:
Nov 30, 2012, 5:08:27 PM (7 years ago)
Author:
esj@…
Message:

Associaspip bug: deux métros de retard pour ce renommage SQL. Bug signalé sur SPIP-contrib.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/Associaspip/trunk/exec/activites.php

    r67990 r68044  
    9999                        $q_having = '';
    100100                }
    101                 $q = sql_select("e.id_evenement, e.date_debut, e.date_fin, e.titre  AS intitule, e.lieu,  COUNT(a.id_activite) AS inscriptions, SUM(a.quantite) AS quantites, SUM(a.montant) AS montants, CASE COUNT(a.id_activite) WHEN 0 THEN 0 ELSE 1 END AS participations $mc_sel", $q_from, $q_where, 'e.id_evenement', 'date_debut DESC, date_fin DESC', sql_asso1page(), $q_having);
     101                $q = sql_select("e.id_evenement, e.date_debut, e.date_fin, e.titre  AS intitule, e.lieu,  COUNT(a.id_activite) AS inscriptions, SUM(a.quantite) AS quantites, SUM(a.prix_unitaire) AS montants, CASE COUNT(a.id_activite) WHEN 0 THEN 0 ELSE 1 END AS participations $mc_sel", $q_from, $q_where, 'e.id_evenement', 'date_debut DESC, date_fin DESC', sql_asso1page(), $q_having);
    102102                echo association_bloc_listehtml2('evenements', $q,
    103103                        array(
Note: See TracChangeset for help on using the changeset viewer.