Skip to content

Commit

Permalink
Scan now will scan from bottom (last added)
Browse files Browse the repository at this point in the history
  • Loading branch information
hernantas committed Oct 20, 2016
1 parent 7c253c5 commit 7bd3178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/model/Scan.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7bd3178

Please sign in to comment.