mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 13:21:54 +02:00
Provide raw search query to custom method.
Issue: #4009 Support banlist filtering using wildcards.
This commit is contained in:
@@ -4228,7 +4228,7 @@ class e_admin_controller_ui extends e_admin_controller
|
||||
{
|
||||
// Search for customer filter handler.
|
||||
$cutomerFilterMethod = 'handle'.$this->getRequest()->getActionName().$this->getRequest()->camelize($key).'Filter';
|
||||
$args = array($searchQuery);
|
||||
$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
|
||||
|
Reference in New Issue
Block a user