From ddceb2012661b7fd6bc3c1df54db3fb44bc6000e Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Sat, 28 Mar 2020 10:58:04 +0100 Subject: [PATCH] Order Feeds alphabetically --- index.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.cgi b/index.cgi index cfc3858..671648f 100755 --- a/index.cgi +++ b/index.cgi @@ -360,7 +360,7 @@ sub list_feeds { print "
\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} //= "-";