Bookshelf

This commit is contained in:
2023-06-27 20:59:11 +10:00
parent c9e54bfc04
commit e248cb9146
14 changed files with 91 additions and 38 deletions

View File

@@ -131,7 +131,7 @@ module Adamantium
posts
.where(post_type: "book")
.published
.order(Sequel.desc(:published_at))
.order(Sequel.asc(:name))
.limit(limit)
.to_a
end