Преглед изворни кода

Merge branch 'bzq/dev' of eta_mini/eta_mini_crm into debug

鲍自强 пре 11 месеци
родитељ
комит
c6c0cc8c22
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      controllers/user.go

+ 1 - 1
controllers/user.go

@@ -1232,7 +1232,7 @@ func (this *UserController) GlobalSearch() {
 		}
 	}
 	if sortCondition == "" {
-		sortCondition = ` ORDER BY u.user_Id DESC`
+		sortCondition = ` ORDER BY u.register_time DESC`
 	}
 
 	startSize := utils.StartIndex(currentIndex, pageSize)