Merge pull request #1852 from SevanNerse/master

key variable must be considered if it is defined in search string
This commit is contained in:
Cüneyt Şentürk
2021-02-12 15:36:59 +03:00
committed by GitHub

View File

@ -80,6 +80,10 @@ class SearchString extends Component
protected function getFilterKey($column, $options)
{
if (isset($options['key'])) {
$column = $options['key'];
}
if (isset($options['relationship'])) {
$column .= '.id';
}