src/SleepingOwl/Admin/Models/Filters/Filter.php
public function filter(Builder $query, $parameters)
	{
		$parameter = $this->getParameter($parameters);
		if (is_null($parameter)) return null;

		if ( ! $this->applyScope($query, $parameter) && $this->name)
		{
			$query->where($this->name, '=', $parameter);
		}
		return $this->title->get($parameter);
	}
public function filter(Builder $query, $parameters)
	{
		$parameter = $this->getParameter($parameters);
		if (is_null($parameter)) return null;

		if ( ! $this->applyScope($query, $parameter) && $this->name)
		{
			$query->where($this->name, '=', $parameter);
		}
		return $this->title->get($parameter);
	}
Run filter
@param Builder $query
@param array $parameters
@return string