mirror of
https://git.zx2c4.com/cgit
synced 2025-06-29 21:04:32 +02:00
Add sort parameter to pager of repo list
When the repolist is paged, the page-links are missing the sort parameter, causing the initial page to be custom sorted, but any clicked page will then be with the default sort order again.
This commit is contained in:
parent
e19f7d7180
commit
7530d94f05
3 changed files with 19 additions and 13 deletions
|
@ -11,7 +11,7 @@ extern char *cgit_pageurl(const char *reponame, const char *pagename,
|
|||
const char *query);
|
||||
|
||||
extern void cgit_index_link(const char *name, const char *title,
|
||||
const char *class, const char *pattern, int ofs);
|
||||
const char *class, const char *pattern, const char *sort, int ofs);
|
||||
extern void cgit_summary_link(const char *name, const char *title,
|
||||
const char *class, const char *head);
|
||||
extern void cgit_tag_link(const char *name, const char *title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue