ajax-datatables-rails icon indicating copy to clipboard operation
ajax-datatables-rails copied to clipboard

How to apply universal formatter to a AjaxDatatablesRails::ActiveRecord class

Open mimeri opened this issue 2 years ago • 1 comments

As can be seen in the README at the end of section 3a we can manipulate the value of a search string before querying

My question is, is there a way to universalize the formatter to a class? What if I want all search terms to be stripped of spaces before performing a search? Do I have use this formatter keyword for each field? That would be repetitive.

mimeri avatar Oct 06 '22 10:10 mimeri

Do I have use this formatter keyword for each field?

yes

n-rodriguez avatar Dec 06 '23 11:12 n-rodriguez