aesmail / aesmail/kaffy

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

Đang mở
#290 0 bình luận 0 reaction 1 người được giao Được @aesmail nhận Xem trên GitHub
bug
Ngôn ngữ chính
Elixir
Star
1.4k
Fork
171
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.