mirror of
https://git.zx2c4.com/cgit
synced 2025-08-29 06:08:24 +02:00
Add all=1 query param for atom feeds
Displays all items from all branches in one feed Signed-off-by: Aaron Griffin <agriffin@datalogics.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
ff3a3b4e2b
commit
65ced7c009
3 changed files with 6 additions and 1 deletions
2
cgit.c
2
cgit.c
|
@ -250,6 +250,8 @@ static void querystring_cb(const char *name, const char *value)
|
|||
ctx.qry.period = xstrdup(value);
|
||||
} else if (!strcmp(name, "ss")) {
|
||||
ctx.qry.ssdiff = atoi(value);
|
||||
} else if (!strcmp(name, "all")) {
|
||||
ctx.qry.show_all = atoi(value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue