bootstrap-table icon indicating copy to clipboard operation
bootstrap-table copied to clipboard

bootstrap-table-filter-control sorting by date is not correct

Open dougauerbach opened this issue 3 years ago • 3 comments

Bootstraptable version(s) affected: 1.18.0 - 1.18.3

Description
When "filter control" select box contains a list of dates, they are sorted alphanumerically, but they should be sorted by date value.

Example
https://live.bootstrap-table.com/code/dougauerbach/7333

dougauerbach avatar Apr 12 '21 18:04 dougauerbach

As you can see in the other example(s) e.g. https://live.bootstrap-table.com/example/extensions/filter-control.html there is no order of the values. I marked this issue as feature request as it makes sense to order values.

UtechtDustin avatar Apr 12 '21 18:04 UtechtDustin

We have a order by option in filter control extension. Didn't that work?

djhvscf avatar Apr 18 '21 04:04 djhvscf

Do you have an example of the order by usage? I must have missed that!

On Sat, Apr 17, 2021, 9:10 PM Dennis Hernández @.***> wrote:

We have a order by option in filter control extension. Didn't that work?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wenzhixin/bootstrap-table/issues/5676#issuecomment-821928803, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFN6MWQ5NWDKAVKT37JMXF3TJJLSBANCNFSM42ZZD6YA .

dougauerbach avatar Apr 18 '21 16:04 dougauerbach