aboutsummaryrefslogtreecommitdiffstats
path: root/models/feed
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2017-10-21 10:00:23 -0700
committerAdam Mathes <adam@trenchant.org>2017-10-21 10:00:23 -0700
commit22f4701bb45a11958c19238de10ef0bf0593894c (patch)
tree90bd3839e78a5c386e142c21d557faa607e25062 /models/feed
parentfad8d73db73a8e2b007ed52b8a0d8f5e347c0418 (diff)
downloadneko-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.go2
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) {