Added /atom/projects?all for inso
This commit is contained in:
parent
9a2e3f45e7
commit
e74b18967e
|
@ -188,6 +188,10 @@ func AtomFeed(c *RequestContext) ResponseData {
|
||||||
type projectResult struct {
|
type projectResult struct {
|
||||||
Project models.Project `db:"project"`
|
Project models.Project `db:"project"`
|
||||||
}
|
}
|
||||||
|
_, hasAll := c.Req.URL.Query()["all"]
|
||||||
|
if hasAll {
|
||||||
|
itemsPerFeed = 100000
|
||||||
|
}
|
||||||
projects, err := db.Query(c.Context(), c.Conn, projectResult{},
|
projects, err := db.Query(c.Context(), c.Conn, projectResult{},
|
||||||
`
|
`
|
||||||
SELECT $columns
|
SELECT $columns
|
||||||
|
|
Loading…
Reference in New Issue