Merge pull request #1852 from SevanNerse/master
key variable must be considered if it is defined in search string
This commit is contained in:
commit
ed9c72c0c6
@ -80,6 +80,10 @@ class SearchString extends Component
|
|||||||
|
|
||||||
protected function getFilterKey($column, $options)
|
protected function getFilterKey($column, $options)
|
||||||
{
|
{
|
||||||
|
if (isset($options['key'])) {
|
||||||
|
$column = $options['key'];
|
||||||
|
}
|
||||||
|
|
||||||
if (isset($options['relationship'])) {
|
if (isset($options['relationship'])) {
|
||||||
$column .= '.id';
|
$column .= '.id';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user