This commit is contained in:
Gwendal Roué committed 2018-05-31 22:35:58 +02:00
1 parent 62a434f898
commit f2b46963bd
1 file changed
+1 -1
+1 -1
View File
@@ -662,7 +662,7 @@ Requests for associated records can be filtered and ordered like all [query inte
let novels = try author
.books
.filter(Column("kind") == BookKind.novel)
.order(Column("publicationDate").desc)
.order(Column("publishDate").desc)
.fetchAll(db)
```