socialpaymentsbv / query_builder

2 stars 2 forks source link

Rethink sort parameters #21

Closed tomekowal closed 3 years ago

tomekowal commented 4 years ago

[%{"key" => "direction"}, %{"another_key"} => "another_direction"}] is translated to ecto-friendly [direction: key, another_direction: another_key]. Query params do not support keyword lists but maybe reversing the params to %{"direction" => "key"} would be more user friendly.

tomekowal commented 3 years ago

Solved in v0.2.0