protected function getCurrentPageUrl($pager)
    {
        if ($pager->isFirstPage()) {
            $pageUrl = $pager->getPageUrl(null);
        } else {
            $pageUrl = $pager->getPageUrl($pager->getCurrentPage());
        }
        return $this->removeTags->filter($pageUrl);
    }