src/bzg/data.clj: Sort resources by inversed dates
1 files changed, 2 insertions(+), 0 deletions(-) M src/bzg/data.clj
M src/bzg/data.clj => src/bzg/data.clj +2 -0
@@ 74,6 74,8 @@ :requests (fetch/requests source-id search) :patches (fetch/patches source-id search) :news (fetch/news source-id search)) ;; Display the latest first. resources (reverse (sort-by :date resources)) headers (condp = format "rss" {"Content-Type" "application/xml"} "md" {"Content-Type" "text/plain; charset=utf-8"}