mirror of
https://github.com/e107inc/e107.git
synced 2025-01-29 10:38:08 +01:00
Admin-UI: Allow searching of type=method fields with integer data.
This commit is contained in:
parent
d3cdcfe3f9
commit
12dece2cc6
@ -4155,7 +4155,7 @@ class e_admin_controller_ui extends e_admin_controller
|
||||
// filter for WHERE and FROM clauses
|
||||
$searchable_types = array('text', 'textarea', 'bbarea', 'url', 'ip', 'tags', 'email', 'int', 'integer', 'str', 'string', 'number'); //method? 'user',
|
||||
|
||||
if($var['type'] === 'method' && !empty($var['data']) && ($var['data'] === 'string' || $var['data'] === 'str'))
|
||||
if($var['type'] === 'method' && !empty($var['data']) && ($var['data'] === 'string' || $var['data'] === 'str' || $var['data'] === 'int'))
|
||||
{
|
||||
$searchable_types[] = 'method';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user