Browse Source

test

fix-1934
lewis 3 years ago
parent
commit
8e8f657f26
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      models/cloudbrain.go

+ 1
- 0
models/cloudbrain.go View File

@@ -1242,6 +1242,7 @@ func Cloudbrains(opts *CloudbrainsOptions) ([]*CloudbrainInfo, int64, error) {
start = (opts.Page - 1) * opts.PageSize
}
sess.Limit(opts.PageSize, start)

}

sess.OrderBy("cloudbrain.created_unix DESC")


Loading…
Cancel
Save