Overview
Comment:Fix [9afefc9f2b6b1f4b7d07949e92c66e1604b19d37] Champs de type sélection unique : recherche non fonctionnelle
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 222a7d057f4209173914fde0658841272abc3536
User & Date: bohwaz on 2018-10-25 10:38:35
Other Links: branch diff | manifest | tags
References
2018-10-25
10:57 Fixed ticket [9afefc9f2b]: Problèmes avec la recherche avancée plus 5 other changes artifact: 762f4a0d5a user: bohwaz
Context
2018-10-25
10:56
Fix [9afefc9f2b6b1f4b] : permettre de chercher les champs nuls / non-nuls check-in: fd31435777 user: bohwaz tags: dev
10:38
Fix [9afefc9f2b6b1f4b7d07949e92c66e1604b19d37] Champs de type sélection unique : recherche non fonctionnelle check-in: 222a7d057f user: bohwaz tags: dev
09:32
Donner accès à la page cotisations aux membres ayant le droit d'accès aux membres fix [a315baa702858249470dbabe812eaeaf33632089] check-in: 77e06392ae 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')