public function getPreviousPage()
    {
        $previousPage = $this->getPage() - 1;
        $firstPage = $this->getFirstPage();
        if ($firstPage > $previousPage) {
            $previousPage = $firstPage;
        }

        return $previousPage;
    }