NOW MANAGED ON CODEBERG
Merge pull request #63 from AkibaWolf/patch-1
Dan Brownfe0b122aca89
diff --cc app/Repos/PageRepo.phpindex 25b869bc3,93f80ec6d..1acf3c847--- a/app/Repos/PageRepo.php+++ b/app/Repos/PageRepo.php@@@ -358,22 -358,5 +358,22 @@@ class PageRep$page->delete();}+ /**+ * Get the latest pages added to the system.+ * @param $count+ */+ public function getRecentlyCreatedPaginated($count = 20)+ {+ return $this->page->orderBy('created_at', 'desc')->paginate($count);+ }++ /**+ * Get the latest pages added to the system.+ * @param $count+ */+ public function getRecentlyUpdatedPaginated($count = 20)+ {+ return $this->page->orderBy('updated_at', 'desc')->paginate($count);+ }- }+ }