mirror of
https://github.com/rancher/norman.git
synced 2025-09-24 20:48:18 +00:00
Fix pagination
Problem: Pagination is not showing up Solution: Pagination was being created properly but then dropped in favor of an empty version. Save the pagination on the context so it can be accessed later and not reset.
This commit is contained in:
@@ -101,6 +101,7 @@ type APIContext struct {
|
||||
URLBuilder URLBuilder
|
||||
AccessControl AccessControl
|
||||
SubContext map[string]string
|
||||
Pagination *Pagination
|
||||
|
||||
Request *http.Request
|
||||
Response http.ResponseWriter
|
||||
|
Reference in New Issue
Block a user