Order Feeds alphabetically
This commit is contained in:
parent
b22346079f
commit
ddceb20126
|
@ -360,7 +360,7 @@ sub list_feeds {
|
||||||
print "<div class='feedlist'>\n";
|
print "<div class='feedlist'>\n";
|
||||||
$dbh->begin_work;
|
$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;
|
my $seconds_per_week = 86400 * 7;
|
||||||
for my $feed (@$feeds) {
|
for my $feed (@$feeds) {
|
||||||
$feed->{title} //= "-";
|
$feed->{title} //= "-";
|
||||||
|
|
Loading…
Reference in New Issue