Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix pagination #304

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Bug fix pagination #304

merged 1 commit into from
Nov 13, 2023

Conversation

ByeongUkChoi
Copy link
Contributor

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)

image

So have to change the Kaffy.Pagination.get_pages/2

@aesmail aesmail merged commit 987cd8d into aesmail:master Nov 13, 2023
11 checks passed
@aesmail
Copy link
Owner

aesmail commented Nov 13, 2023

@ByeongUkChoi thank you 🙏🏻

@ByeongUkChoi ByeongUkChoi deleted the feature/fix_pagination branch November 13, 2023 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants