Overview
SHA1:222a7d057f4209173914fde0658841272abc3536
Date: 2018-10-25 10:38:35
User: bohwaz
Comment:Fix [9afefc9f2b6b1f4b7d07949e92c66e1604b19d37] Champs de type sélection unique : recherche non fonctionnelle
Timelines: family | ancestors | descendants | both | dev
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
References
2018-10-25
10:57 • Fixed ticket [9afefc9f2b]: Problèmes avec la recherche avancée plus 5 other changes (user: bohwaz) [details]
Tags And Properties
Context
2018-10-25
10:56
[fd31435777] Fix [9afefc9f2b6b1f4b] : permettre de chercher les champs nuls / non-nuls (user: bohwaz, tags: dev)
10:38
[222a7d057f] Fix [9afefc9f2b6b1f4b7d07949e92c66e1604b19d37] Champs de type sélection unique : recherche non fonctionnelle (user: bohwaz, tags: dev)
09:32
[77e06392ae] Donner accès à la page cotisations aux membres ayant le droit d'accès aux membres fix [a315baa702858249470dbabe812eaeaf33632089] (user: bohwaz, tags: dev)
Changes

Modified src/include/lib/Garradin/Recherche.php from [1fb44b301a] to [d3b4fbf0f1].

190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
				if ($config->type == 'checkbox')
				{
					$column->type = 'boolean';
				}
				elseif ($config->type == 'select')
				{
					$column->type = 'enum';
					$column->values = $config->options;
				}
				elseif ($config->type == 'multiple')
				{
					$column->type = 'bitwise';
					$column->values = $config->options;
				}
				elseif ($config->type == 'date' || $config->type == 'datetime')







|







190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
				if ($config->type == 'checkbox')
				{
					$column->type = 'boolean';
				}
				elseif ($config->type == 'select')
				{
					$column->type = 'enum';
					$column->values = array_combine($config->options, $config->options);
				}
				elseif ($config->type == 'multiple')
				{
					$column->type = 'bitwise';
					$column->values = $config->options;
				}
				elseif ($config->type == 'date' || $config->type == 'datetime')