danielschuster-muc/potter-db

[Bug]: Filtering / Searching doesn't work

Closed this issue · 1 comments

Project

Website (Potter DB Search)

Bug description

filter and sorting return 500 error, when i try get reques like https://api.potterdb.com/v1/characters?sort=-name or https://api.potterdb.com/v1/characters?filter[name_cont_any]=har

Expected Behavior

No response

Steps to reproduce

No response

Screenshots

![error](https://i.imgur.com/6drXFhV.png)

Logs

No response

Thanks for opening this issue! I could reproduce it in production and dev - seems to be an issue with ransack (the gem I use for filtering).
You can probably expect a fix for it soon.