From 7bd3178268e5977eef492effe0022a3fc9d58719 Mon Sep 17 00:00:00 2001 From: Zulfikar Raditya Hernanta Date: Thu, 20 Oct 2016 11:26:24 +0700 Subject: [PATCH] Scan now will scan from bottom (last added) --- app/model/Scan.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/model/Scan.php b/app/model/Scan.php index 815bd5e..93aeb67 100644 --- a/app/model/Scan.php +++ b/app/model/Scan.php @@ -44,7 +44,7 @@ public function addScan($list) public function currentScan($limit) { - $result = $this->db->table('manga_scan')->limit(0,$limit)->order('id')->get(); + $result = $this->db->table('manga_scan')->limit(0,$limit)->order('id', 'desc')->get(); return $result; }