Commit f88e57cd by Alex Bush

bugfix

1 parent b6d677ee
Showing with 1 additions and 0 deletions
...@@ -46,6 +46,7 @@ get '/' => sub { ...@@ -46,6 +46,7 @@ get '/' => sub {
my $news_row = $dbi->select( my $news_row = $dbi->select(
['*'], ['*'],
table => 'news', table => 'news',
append => 'order by id desc limit 20'
); );
my $news = $news_row->all; my $news = $news_row->all;
......
No preview for this file type
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!