Order Feeds alphabetically

This commit is contained in:
Peter J. Holzer 2020-03-28 10:58:04 +01:00
parent b22346079f
commit ddceb20126
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ sub list_feeds {
print "<div class='feedlist'>\n";
$dbh->begin_work;
my $feeds = $dbh->selectall_arrayref("select * from feeds where active", { Slice => {} });
my $feeds = $dbh->selectall_arrayref("select * from feeds where active order by title", { Slice => {} });
my $seconds_per_week = 86400 * 7;
for my $feed (@$feeds) {
$feed->{title} //= "-";