diff options
author | Adam Mathes <adam@trenchant.org> | 2017-11-22 10:38:24 -0700 |
---|---|---|
committer | Adam Mathes <adam@trenchant.org> | 2017-11-22 10:38:24 -0700 |
commit | 598c6c9ef39500926337e52967fd527833981909 (patch) | |
tree | 4f3af9162241e23f086e8abb813d5c3458945b1e | |
parent | 4d4cd3c9ac606b6732400084d499d487398138b9 (diff) | |
download | neko-598c6c9ef39500926337e52967fd527833981909.tar.gz neko-598c6c9ef39500926337e52967fd527833981909.tar.bz2 neko-598c6c9ef39500926337e52967fd527833981909.zip |
sort feeds by lc(title)
-rw-r--r-- | models/feed/feed.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/feed/feed.go b/models/feed/feed.go index 42bf1ab..bea7ae1 100644 --- a/models/feed/feed.go +++ b/models/feed/feed.go @@ -25,7 +25,7 @@ func NewFeed(url string) error { } func All() ([]*Feed, error) { - return filter(" ORDER BY URL desc") + return filter(" ORDER BY lower(TITLE) asc") } func filter(where string) ([]*Feed, error) { |