backpex icon indicating copy to clipboard operation
backpex copied to clipboard

Init Order is not applied when `order_by` contains a value that is not orderable

Open pehbehbeh opened this issue 8 months ago • 2 comments

The apply_criteria function expects a field_name to be present in the order criteria, but we do not set the value in the case order_by contains a value that is not orderable.

See https://github.com/naymspace/backpex/blob/0.3.1/lib/backpex/live_resource.ex#L1336

pehbehbeh avatar Jun 17 '24 13:06 pehbehbeh