Skip to content

Commit d16e6a5

Browse files
committed
sort repositories by updated_unix in Explore
1 parent b3cfa5a commit d16e6a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/home.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func RenderUserSearch(ctx *context.Context, opts *UserSearchOptions) {
199199
case "alphabetically":
200200
orderBy = "name ASC"
201201
default:
202-
orderBy = "id DESC"
202+
orderBy = "updated_unix DESC"
203203
}
204204

205205
keyword := strings.Trim(ctx.Query("q"), " ")

0 commit comments

Comments
 (0)