{fusion_supprimer}

  • New in : SPIP 4.0

{fusion_supprimer}: this criterion removes from the sql query the GROUP BY condition that is present there, at this stage of compilation. This can be useful to get rid of a GROUP BY added by default by the SPIP compiler during a join and which gets in the way. It is then possible to add the criterion for a desired merge. (cf #3209)

Example

In the following loop it is necessary to add {fusion_supprimer} to get the merge on dates, because by default the compiler adds automatically a GOUP BY id_article for the join of the table ARTICLES with the table MOTS:

<BOUCLE_facette_annee(ARTICLES){id_mot=27}{fusion_supprimer}{fusion YEAR(date)}>
    [(#DATE|annee)]<br />
</BOUCLE_facette_annee>

This criterion was previously defined by the SPIP-Bonux plugin, and has been integrated into SPIP 4.0.

Author jack Published :

Translations : English, français