diff --git a/e107_admin/banlist.php b/e107_admin/banlist.php
index 7b5fc4220..304622250 100644
--- a/e107_admin/banlist.php
+++ b/e107_admin/banlist.php
@@ -144,10 +144,10 @@ class banlist_ui extends e_admin_ui
//
/**
- * Custom filter for banlist_ip filter search.
+ * Custom search field handling for banlist_ip.
* @param string $srch
*/
- function handleListBanlistIpFilter($srch)
+ function handleListBanlistIpSearch($srch)
{
$ret = array(
"banlist_ip = '".$srch."'"
diff --git a/e107_handlers/admin_ui.php b/e107_handlers/admin_ui.php
index eb6cb0eb3..cfd7497e7 100755
--- a/e107_handlers/admin_ui.php
+++ b/e107_handlers/admin_ui.php
@@ -4227,15 +4227,16 @@ class e_admin_controller_ui extends e_admin_controller
if(trim($searchQuery) !== '' && in_array($var['type'], $searchable_types) && $var['__tableField'])
{
// Search for customer filter handler.
- $cutomerFilterMethod = 'handle'.$this->getRequest()->getActionName().$this->getRequest()->camelize($key).'Filter';
+ $cutomerSearchMethod = 'handle'.$this->getRequest()->getActionName().$this->getRequest()->camelize($key).'Search';
$args = array($tp->toDB($request->getQuery('searchquery', '')));
- e107::getMessage()->addDebug("Searching for custom filter method: ".$className.'::'.$cutomerFilterMethod."(".implode(', ', $args).")");
- if(method_exists($this, $cutomerFilterMethod)) // callback handling
+ e107::getMessage()->addDebug("Searching for custom search method: ".$className.'::'.$cutomerSearchMethod."(".implode(', ', $args).")");
+
+ if(method_exists($this, $cutomerSearchMethod)) // callback handling
{
- e107::getMessage()->addDebug('Executing filter callback '.$className.'::'.$cutomerFilterMethod.'('.implode(', ', $args).')');
+ e107::getMessage()->addDebug('Executing custom search callback '.$className.'::'.$cutomerSearchMethod.'('.implode(', ', $args).')');
- $filter[] = call_user_func_array(array($this, $cutomerFilterMethod), $args);
+ $filter[] = call_user_func_array(array($this, $cutomerSearchMethod), $args);
continue;
}