mirror of https://gitee.com/answerdev/answer.git
Merge branch 'fix/report' into 'main'
fix: flag sort See merge request opensource/answer!9
This commit is contained in:
commit
e159926100
|
@ -66,7 +66,7 @@ func (rr *reportRepo) GetReportListPage(ctx context.Context, dto schema.GetRepor
|
|||
}
|
||||
|
||||
// order
|
||||
session.OrderBy("created_at desc")
|
||||
session.OrderBy("updated_at desc")
|
||||
|
||||
total, err = pager.Help(dto.Page, dto.PageSize, &reports, cond, session)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue