Skip to content

Commit

Permalink
kiosk: events: fix default page
Browse files Browse the repository at this point in the history
  • Loading branch information
streambinder committed Oct 11, 2021
1 parent cd37fd5 commit 6649c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kiosk/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type Pagination struct {
func (k *Kiosk) eventsHandler(c *gin.Context) {
var (
filter = c.Query("q")
pPage = c.DefaultQuery("p", "1")
pPage = c.DefaultQuery("p", "0")
pLimit = c.DefaultQuery("l", "7")
)

Expand Down

0 comments on commit 6649c8c

Please sign in to comment.