aboutsummaryrefslogtreecommitdiffstats
path: root/models/feed
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2017-11-22 10:38:24 -0700
committerAdam Mathes <adam@trenchant.org>2017-11-22 10:38:24 -0700
commit598c6c9ef39500926337e52967fd527833981909 (patch)
tree4f3af9162241e23f086e8abb813d5c3458945b1e /models/feed
parent4d4cd3c9ac606b6732400084d499d487398138b9 (diff)
downloadneko-598c6c9ef39500926337e52967fd527833981909.tar.gz
neko-598c6c9ef39500926337e52967fd527833981909.tar.bz2
neko-598c6c9ef39500926337e52967fd527833981909.zip
sort feeds by lc(title)
Diffstat (limited to 'models/feed')
-rw-r--r--models/feed/feed.go2
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) {