Index: branches/5.2.x/core/kernel/db/dblist.php =================================================================== --- branches/5.2.x/core/kernel/db/dblist.php +++ branches/5.2.x/core/kernel/db/dblist.php @@ -517,6 +517,11 @@ $this->SetPage(1); $this->Query($force); } + else if ( $this->Application->HttpQuery->refererIsOurSite() ) { + // no records & page > 1, try to reset to last page + $this->SetPage($this->GetTotalPages()); + $this->Query($force); + } else { // no records & page > 1, show 404 page trigger_error('Unknown page ' . $this->Page . ' in ' . $this->getPrefixSpecial() . ' list, leading to "404 Not Found"', E_USER_NOTICE);