Closed AntonA46 closed 3 years ago
Decision: Need to use SearchCriteriaProvider in ORMAdapter. In my case:
'criteria' => [
function (QueryBuilder $ queryBuilder, DataTableState $ state) {
$ state-> setGlobalSearch (mb_strtoupper ($ state-> getGlobalSearch ()));
},
new SearchCriteriaProvider (),].
In the dataTable constructor, in the added columns, add
'field' => 'upper (u.name)',
'searchable' => true,
Hello! Table searches are performed using the "LIKE" operator, which is case sensitive in postgresql. In MYSQL There is no such problem. How fix this problem ?