jbox-web / ajax-datatables-rails

A wrapper around DataTable's ajax methods that allow synchronization with server-side pagination in a Rails app
MIT License
585 stars 228 forks source link

Greater than the current date support #351

Closed RutSzymon closed 3 years ago

RutSzymon commented 4 years ago

Hello, thank you for a great gem :)

I just noticed that date_range doesn't support searching by a date greater than today. If you want to select jobs planned from tomorrow without end date it returns nothing.

I improved range_end_casted method to support this case.

Greetings :)