Skip to content

Commit 4f6d10f

Browse files
committed
fix col name
1 parent fcf4517 commit 4f6d10f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/actions/run_list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ func (opts FindRunOptions) ToConds() builder.Cond {
110110
func (opts FindRunOptions) ToOrders() string {
111111
switch opts.SortType {
112112
case "oldest":
113-
return "created_unix ASC"
113+
return "created ASC"
114114
case "newest":
115-
return "created_unix DESC"
115+
return "created DESC"
116116
default:
117117
return "`id` DESC"
118118
}

0 commit comments

Comments
 (0)