mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01: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:
parent
bd45d497d8
commit
17e9a34eb1
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user