diff options
author | Adam Mathes <adam@trenchant.org> | 2017-10-21 10:00:23 -0700 |
---|---|---|
committer | Adam Mathes <adam@trenchant.org> | 2017-10-21 10:00:23 -0700 |
commit | 22f4701bb45a11958c19238de10ef0bf0593894c (patch) | |
tree | 90bd3839e78a5c386e142c21d557faa607e25062 /models/feed | |
parent | fad8d73db73a8e2b007ed52b8a0d8f5e347c0418 (diff) | |
download | neko-22f4701bb45a11958c19238de10ef0bf0593894c.tar.gz neko-22f4701bb45a11958c19238de10ef0bf0593894c.tar.bz2 neko-22f4701bb45a11958c19238de10ef0bf0593894c.zip |
order all feeds by url
Diffstat (limited to 'models/feed')
-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 ea3168c..d1ca71d 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("") + return filter(" ORDER BY URL desc") } func filter(where string) ([]*Feed, error) { |