aesmail / aesmail/kaffy

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

Aberta
#290 0 comentários 0 reações 1 responsável Reivindicada por @aesmail Ver no GitHub
bug
Linguagem predominante
Elixir
Estrelas
1.4k
Forks
171
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.