Search gists on user profile with title, visibility, language & topics (#422)

هذا الالتزام موجود في:
Thomas Miceli
2025-02-02 18:14:03 +01:00
ملتزم من قبل GitHub
الأصل 76fc129c09
التزام 7aa8f84eff
23 ملفات معدلة مع 429 إضافات و54 حذوفات

عرض الملف

@@ -19,7 +19,7 @@ func Revisions(ctx *context.Context) error {
return ctx.ErrorRes(500, "Error fetching commits log", err)
}
if err := handlers.Paginate(ctx, commits, pageInt, 10, "commits", userName+"/"+gistName+"/revisions", 2); err != nil {
if err := handlers.Paginate(ctx, commits, pageInt, 10, "commits", userName+"/"+gistName+"/revisions", 2, nil); err != nil {
return ctx.ErrorRes(404, ctx.Tr("error.page-not-found"), nil)
}