inclure les champs extras dans la recherche
This commit is contained in:
parent
f82b91c34c
commit
6316d0ef94
@ -102,6 +102,7 @@ function libreavous_declarer_champs_extras($champs = array()) {
|
|||||||
'cols' => '40',
|
'cols' => '40',
|
||||||
'sql' => 'text DEFAULT \'\' NOT NULL',
|
'sql' => 'text DEFAULT \'\' NOT NULL',
|
||||||
'inserer_barre' => 'edition',
|
'inserer_barre' => 'edition',
|
||||||
|
'rechercher' => 5,
|
||||||
),
|
),
|
||||||
'verifier' => array(
|
'verifier' => array(
|
||||||
),
|
),
|
||||||
@ -116,6 +117,7 @@ function libreavous_declarer_champs_extras($champs = array()) {
|
|||||||
'cols' => '40',
|
'cols' => '40',
|
||||||
'sql' => 'text DEFAULT \'\' NOT NULL',
|
'sql' => 'text DEFAULT \'\' NOT NULL',
|
||||||
'inserer_barre' => 'edition',
|
'inserer_barre' => 'edition',
|
||||||
|
'rechercher' => 5,
|
||||||
),
|
),
|
||||||
'verifier' => array(
|
'verifier' => array(
|
||||||
),
|
),
|
||||||
@ -143,6 +145,7 @@ function libreavous_declarer_champs_extras($champs = array()) {
|
|||||||
'cols' => '40',
|
'cols' => '40',
|
||||||
'sql' => 'text DEFAULT \'\' NOT NULL',
|
'sql' => 'text DEFAULT \'\' NOT NULL',
|
||||||
'inserer_barre' => 'edition',
|
'inserer_barre' => 'edition',
|
||||||
|
'rechercher' => 5,
|
||||||
),
|
),
|
||||||
'verifier' => array(
|
'verifier' => array(
|
||||||
),
|
),
|
||||||
@ -252,7 +255,7 @@ function libreavous_declarer_tables_objets_sql($tables) {
|
|||||||
#'date' => '',
|
#'date' => '',
|
||||||
'champs_editables' => array('titre', 'code', 'code_fichier', 'code_podcast', 'debut', 'fin', 'type_sujet', 'chronique', 'mp3', 'ogg', 'references_sujet', 'drupal_guid', 'drupal_pubdate', 'id_article'),
|
'champs_editables' => array('titre', 'code', 'code_fichier', 'code_podcast', 'debut', 'fin', 'type_sujet', 'chronique', 'mp3', 'ogg', 'references_sujet', 'drupal_guid', 'drupal_pubdate', 'id_article'),
|
||||||
'champs_versionnes' => array('titre', 'code', 'code_fichier', 'code_podcast', 'debut', 'fin', 'type_sujet', 'chronique', 'mp3', 'ogg', 'references_sujet', 'drupal_guid', 'drupal_pubdate', 'id_article'),
|
'champs_versionnes' => array('titre', 'code', 'code_fichier', 'code_podcast', 'debut', 'fin', 'type_sujet', 'chronique', 'mp3', 'ogg', 'references_sujet', 'drupal_guid', 'drupal_pubdate', 'id_article'),
|
||||||
'rechercher_champs' => array("titre" => 5),
|
'rechercher_champs' => array("titre" => 8, "references_sujet" => 5),
|
||||||
'tables_jointures' => array(),
|
'tables_jointures' => array(),
|
||||||
|
|
||||||
);
|
);
|
||||||
|
@ -62,6 +62,7 @@ function libreavous_upgrade($nom_meta_base_version, $version_cible) {
|
|||||||
|
|
||||||
cextras_api_upgrade(libreavous_declarer_champs_extras(), $maj['0.1.5']);
|
cextras_api_upgrade(libreavous_declarer_champs_extras(), $maj['0.1.5']);
|
||||||
cextras_api_upgrade(libreavous_declarer_champs_extras(), $maj['0.1.6']);
|
cextras_api_upgrade(libreavous_declarer_champs_extras(), $maj['0.1.6']);
|
||||||
|
cextras_api_upgrade(libreavous_declarer_champs_extras(), $maj['0.1.7']);
|
||||||
|
|
||||||
include_spip('base/upgrade');
|
include_spip('base/upgrade');
|
||||||
maj_plugin($nom_meta_base_version, $version_cible, $maj);
|
maj_plugin($nom_meta_base_version, $version_cible, $maj);
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<paquet
|
<paquet
|
||||||
prefix="libreavous"
|
prefix="libreavous"
|
||||||
categorie="squelette"
|
categorie="squelette"
|
||||||
version="0.5.2"
|
version="0.5.3"
|
||||||
schema="0.1.6"
|
schema="0.1.7"
|
||||||
etat="dev"
|
etat="dev"
|
||||||
compatibilite="[3.2.8;4.0.*]"
|
compatibilite="[3.2.8;4.0.*]"
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user