public function getPagerUrl($params = [])
    {
        $urlParams = [];
        $urlParams['_current'] = false;
        $urlParams['_escape']  = true;
        $urlParams['_query']   = $params;

        $path = $this->getUrl($this->getPath(), $urlParams);
        if ($this->getEntity()) {
            $path = $this->getEntity()->getUrl($urlParams);
        } elseif ($this->getRequest()->getControllerName() == 'search') {
            $url = ObjectManager::getInstance()->get('Mirasvit\Blog\Model\Url');
            $urlParams['_current'] = true;
            $path = $url->getSearchUrl($urlParams);
        }

        return $path;
    }