// Ajout nouvelles tables de recherche $GLOBALS['spip_pipeline']['rechercher_liste_des_champs'] .= "|ajout_recherche_champs"; function ajout_recherche_champs($tables) { $tables['zitems']['titre'] = 3; $tables['zcollections']['zcollection'] = 3; $tables['zcreators']['auteur'] = 3; return $tables; } // Ajout nouvelles jointures $GLOBALS['spip_pipeline']['rechercher_liste_des_jointures'] .= "|ajout_jointures"; function ajout_jointures($tables) { $tables['zitems']['zcollections']['zcollection'] = 2; $tables['zitems']['zcreators']['auteur'] = 2; return $tables; }