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] Crash occurs when a schema has a :page field or association #290

Open
aesmail opened this issue Sep 11, 2023 · 0 comments
Open

[BUG] Crash occurs when a schema has a :page field or association #290

aesmail opened this issue Sep 11, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@aesmail
Copy link
Owner

aesmail commented Sep 11, 2023

Versions Used
Kaffy: 0.10.0-rc.2 and master
Phoenix: 1.7.7
Elixir: 1.15.5

What's actually happening?
On the resource list page, when trying to order a resource by a specific field, if the schema includes a :page field, this might cause a crash or unexpectedly filters the list by :page.

This is happening because Kaffy uses the page query string to provide pagination.

What should happen instead?
Kaffy should order the list according to the chosen field without conflicting with predefined parameters used for other functionality.

Screenshots
If applicable, add screenshots to help explain your problem.

@aesmail aesmail added the bug Something isn't working label Sep 11, 2023
@aesmail aesmail self-assigned this Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant