protected function searchQuery(Builder $query, string $phrase)
    {
        return $query->where (function (Builder $query) use ($phrase) {
            $query->where('url', 'LIKE', '%' . $phrase . '%')
                    ->orWhere('short_url_key', 'LIKE', '%' . $phrase . '%')
                    ->orWhere('clicks', 'LIKE', '%' . $phrase . '%')
                    ->orWhere('url', 'LIKE', '%' . $phrase . '%');
            });
    }