mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 16:38:42 +00:00
ui-shared: keep filter repolist page in pagination
This commit is contained in:
parent
c3473e8a5d
commit
db4b735464
@ -144,10 +144,10 @@ static void site_url(const char *page, const char *search, const char *sort, int
|
|||||||
{
|
{
|
||||||
char *delim = "?";
|
char *delim = "?";
|
||||||
|
|
||||||
if (ctx.cfg.virtual_root)
|
if (!page)
|
||||||
html_attr(ctx.cfg.virtual_root);
|
html_attr(ctx.qry.url);
|
||||||
else
|
else
|
||||||
html_url_path(ctx.cfg.script_name);
|
html_attr(cgit_rooturl());
|
||||||
|
|
||||||
if (page) {
|
if (page) {
|
||||||
htmlf("?p=%s", page);
|
htmlf("?p=%s", page);
|
||||||
|
Loading…
Reference in New Issue
Block a user