Skip to content

Unsortable Columns Raise on FunctionClauseError #16

Description

@jeremyjh

This should be a more explicit exception type:

** (exit) an exception was raised:                                                                                                                                                              
    ** (FunctionClauseError) no function clause matching in anonymous fn/2 in PhoenixDatatables.Query.do_sorts/2                                                                                
        (phoenix_datatables) lib/phoenix_datatables/query.ex:51: anonymous fn({:error, "stats.date_all_stock_exhausted is not a sortable column."},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions