// {{{
global $prf_desc;
-$prf_desc = array('nom' => 'Son patronyme',
+$prf_desc = array('search_names' => 'L\'un de ses noms',
'freetext' => 'Le texte libre',
'mobile' => 'Son numéro de téléphone portable',
'nationalite' => 'Sa nationalité',
$this->watched= array('freetext' => true, 'tels' => true,
'networking' => true, 'edus' => true,
'nationalite' => true, 'nationalite2' => true,
- 'nationalite3' => true);
+ 'nationalite3' => true, 'search_names' => true);
}
protected function _fetchData()
--- /dev/null
+ALTER TABLE watch_profile MODIFY field enum('search_names', 'nom', 'freetext', 'mobile', 'nationalite',
+ 'nationalite2', 'nationalite3', 'nick', 'web', 'networking',
+ 'edus', 'addresses', 'section', 'binets', 'medals', 'cv',
+ 'jobs', 'photo');
+
+UPDATE watch_profile SET field = 'search_names' WHERE field = 'nom' OR field = 'nick';
+
+ALTER TABLE watch_profile MODIFY field enum('search_names', 'freetext', 'mobile', 'nationalite',
+ 'nationalite2', 'nationalite3', 'web', 'networking','edus',
+ 'addresses', 'section', 'binets', 'medals', 'cv', 'jobs',
+ 'photo');
+
+# vim:set syntax=mysql: