protected function getSearchCriteria($begin, $end)
    {
        try {
            $criteria = System::getContainer()
                ->get('codefog_news_categories.news_criteria_builder')
                ->getCriteriaForArchiveModule($this->news_archives, $begin, $end, $this);
        } catch (CategoryNotFoundException $e) {
            throw new PageNotFoundException($e->getMessage());
        }

        return $criteria;
    }