add favorite system and other small tweaks and fixes.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-02-27 16:47:57 +01:00
parent 48b439af4f
commit 16237a89a4
20 changed files with 147 additions and 39 deletions
+4
View File
@@ -23,6 +23,10 @@ func Project(g *gin.RouterGroup, db database.Database) {
if setting := c.Query("expiring"); setting != "" {
filter.Expiring = setting == "true"
}
if setting := c.Query("favorite"); setting != "" {
favorite := setting == "true"
filter.Favorite = &favorite
}
return l.ListProjects(c, filter)
}))