Create a configuration file
I want the search filter to be case_insensitive by default.
I see that you have already think of it in your source but when I publish the configuration file of the package, there is no file at all...
I created my own configuration file under app/config/packages/bllim/datatables/config.php and I put the following code in it :
return [
'search' => [
'case_insensitive' => true
]
];
I also modify your Datatables.php class by replacing all the
Config::get('datatables.
by
Config::get('bllim/datatables::
But my search field is still case sensitive. Maybe I'm missing something.
EDIT : Ok it's working ! I had to set the package name in DatatablesServiceProvider.php :
$this->package('bllim/datatables');
to
$this->package('bllim/datatables', 'bllim/datatables');
I think it will be good to update this.
Thanks in advance for some help