Overview
Comment:Permettre de rechercher les champs NULL même si obligatoire, car ils peuvent être restés NULL suite à changement de config de la fiche membre
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA1: 5a76928d513be14439b5c05aedfedde06ad7bcfb
User & Date: bohwaz on 2019-11-13 12:25:35
Other Links: manifest | tags
Context
2019-11-17
16:58
Ajout colonne Projet dans l'export compta check-in: c2cddaf5e8 user: bohwaz tags: trunk
2019-11-13
12:25
Permettre de rechercher les champs NULL même si obligatoire, car ils peuvent être restés NULL suite à changement de config de la fiche membre check-in: 5a76928d51 user: bohwaz tags: trunk, stable
11:46
Ajout possibilité de se connecter localement avec le premier compte pouvant gérer les catégories de membres check-in: 96b418d6a6 user: bohwaz tags: trunk, stable
Changes

Modified src/include/lib/Garradin/Recherche.php from [35a5a3057c] to [98002e1aea].

180
181
182
183
184
185
186
187

188
189
190
191
192
193
194
180
181
182
183
184
185
186

187
188
189
190
191
192
193
194







-
+







			foreach ($champs->getList() as $champ => $config)
			{
				$column = (object) [
					'realType' => $config->type,
					'textMatch'=> $champs->isText($champ),
					'label'    => $config->title,
					'type'     => 'text',
					'null'     => $config->mandatory ? false : true,
					'null'     => true,
				];

				if ($config->type == 'checkbox')
				{
					$column->type = 'boolean';
				}
				elseif ($config->type == 'select')