Merge pull request #2924 from CihanSenturk/search-string-value-issue

Fix search string value issue
This commit is contained in:
Cüneyt Şentürk 2023-03-09 18:06:41 +03:00 committed by GitHub
commit 81f11ab29e
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) {