public static function dataTableFiltering($request, $parameters)
    {
        $args['where'] = null;
        if($request->input('search')['value'] !== "")
        {
            $parameters['where'] = $request->input('search')['value'];
        }
        return $parameters;
    }
public static function dataTableFiltering($request, $parameters)
    {
        $args['where'] = null;
        if($request->input('search')['value'] !== "")
        {
            $parameters['where'] = $request->input('search')['value'];
        }
        return $parameters;
    }
public static function dataTableFiltering ( $ request , $ parameters ) { $ args [ 'where' ] = null ; if ( $ request -> input ( 'search' ) [ 'value' ] !== "" ) { $ parameters [ 'where' ] = $ request -> input ( 'search' ) [ 'value' ] ; } return $ parameters ; }
Function to set arguments to search on datatable

@access  public
@param   \Illuminate\Http\Request $request
@param   array   $parameters
@return  array
Function to set arguments to search on datatable