commit 8ea2e76efa46b2e518a3e42ed90787d73dff3f96 from: Omar Polo via: Thomas Adam date: Fri Dec 30 14:58:03 2022 UTC gotwebd: fix broken navigation in commits page since 8d02314 ok tracey@ commit - e7e5fa49fc2e589a02ba9a9412a7b8e2377ead68 commit + 8ea2e76efa46b2e518a3e42ed90787d73dff3f96 blob - 6c6d29dcbaef64cd1c831a6101da9fa2515c06cf blob + 846113c5021672fc2790cc93baebbbd4a5941488 --- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -722,7 +722,7 @@ gotweb_render_navs(struct request *c) if (t->prev_id && qs->commit != NULL && strcmp(qs->commit, t->prev_id) != 0) { struct gotweb_url url = { - .action = COMMIT, + .action = COMMITS, .index_page = -1, .page = qs->page - 1, .path = qs->path, @@ -791,7 +791,7 @@ gotweb_render_navs(struct request *c) case COMMITS: if (t->next_id) { struct gotweb_url url = { - .action = COMMIT, + .action = COMMITS, .index_page = -1, .page = qs->page + 1, .path = qs->path,