Closed ByeongUkChoi closed 10 months ago
The following error occurs because the startup page is 1 when the number of resources is 0. (https://github.com/aesmail/kaffy/blob/master/lib/kaffy_web/controllers/resource_controller.ex#L35)
So have to change the Kaffy.Pagination.get_pages/2
Kaffy.Pagination.get_pages/2
@ByeongUkChoi thank you 🙏🏻
The following error occurs because the startup page is 1 when the number of resources is 0. (https://github.com/aesmail/kaffy/blob/master/lib/kaffy_web/controllers/resource_controller.ex#L35)
So have to change the
Kaffy.Pagination.get_pages/2