summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-04-10 17:53:26 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-04-10 17:53:26 +0200
commit570ad6142d2a35bcd42faed11a80afec9f91c852 (patch)
tree7fe2bac844a535c5fc9eed578e907e305866c753
parenta392378a04d9b92d114a0e952dd1082ac6a8e499 (diff)
downloadchd_gestion-570ad6142d2a35bcd42faed11a80afec9f91c852.zip
chd_gestion-570ad6142d2a35bcd42faed11a80afec9f91c852.tar.gz
chd_gestion-570ad6142d2a35bcd42faed11a80afec9f91c852.tar.bz2
Add search bar in view "Intéressés"
* generator/before-bake/config/bake_extra.php: Add filter for "Intéressés".
-rw-r--r--generator/before-bake/config/bake_extra.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/generator/before-bake/config/bake_extra.php b/generator/before-bake/config/bake_extra.php
index d75cc2e..79ca3a4 100644
--- a/generator/before-bake/config/bake_extra.php
+++ b/generator/before-bake/config/bake_extra.php
@@ -25,7 +25,6 @@ return [
'AdherentStatuts' => [ 'actions' => [ '_empty' ] ],
'AdherentTypes' => [ 'actions' => [ '_empty' ] ],
'Civilites' => [ 'actions' => [ '_empty' ] ],
- 'Interesses' => [ 'actions' => [ 'index', 'view', 'add', 'edit', 'delete'] ],
'Periodicites' => [ 'actions' => [ '_empty' ] ],
'Secteurs' => [ 'actions' => [ '_empty' ] ],
'ServiceStatuts' => [ 'actions' => [ '_empty' ] ],
@@ -127,6 +126,16 @@ EOT
],
],
],
+ 'Interesses' => [
+ 'actions' => [ 'index', 'view', 'add', 'edit', 'delete'],
+ 'filters' => [
+ 'q' => [
+ 'mode' => 'like',
+ 'columns' => ['nom', 'prenom', 'date_demande', 'raison'],
+ 'hint' => 'Rechercher...',
+ ],
+ ],
+ ],
'Ipmgmt' => [
'actions' => [ 'index', 'view', 'add' ],
'title' => [