mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Admin-UI: Added optional 'search' attribute to fields. When true the field will be included in the "Search In Field" filter list.
This commit is contained in:
@@ -7439,6 +7439,11 @@ class e_admin_form_ui extends e_form
|
||||
$parms = $val['writeParms']['optArray'];
|
||||
}
|
||||
|
||||
if(!empty($val['search']))
|
||||
{
|
||||
$searchFieldOpts["searchfield__".$key] = $val['title'];
|
||||
}
|
||||
|
||||
switch($val['type'])
|
||||
{
|
||||
|
||||
@@ -7777,7 +7782,6 @@ class e_admin_form_ui extends e_form
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(!empty($searchFieldOpts))
|
||||
{
|
||||
$text .= "\t".$this->optgroup_open(defset("LAN_UI_FILTER_SEARCH_IN_FIELD", "Search in Field"))."\n";
|
||||
|
Reference in New Issue
Block a user