add support for project inactivity, added new checkbox component.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-01-04 19:38:46 +01:00
parent 7dfa1ec8b4
commit c3e589aa3e
11 changed files with 117 additions and 21 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func (r *projectRepository) List(ctx context.Context, filter models.ProjectFilte
sq = sq.Where("end_time IS NOT NULL")
}
sq = sq.OrderBy("created_time DESC")
sq = sq.OrderBy("active", "created_time DESC")
query, args, err := sq.ToSql()
if err != nil {