fix search string value issue

This commit is contained in:
Cihan Şentürk 2023-03-09 17:42:46 +03:00 committed by GitHub
parent 69b57ad76e
commit 45372829d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,6 +113,8 @@ class SearchString extends Component
protected function getFilterName($column, $options)
{
$column = last(explode('.', $column));
if (strpos($column, '_id') !== false) {
$column = str_replace('_id', '', $column);
} else if (strpos($column, '_code') !== false) {