fix to get the column variable

This commit is contained in:
Min-Soo Kim 2020-12-23 09:23:26 +09:00
parent a9ff791f4b
commit 1b80db4652

View file

@ -237,7 +237,7 @@ class VariableBase
}
break;
case 'search':
list($where, $params[]) = $this->_parseSearchKeywords($value);
list($where, $params[]) = $this->_parseSearchKeywords($column, $value);
break;
case 'plus':
$where = sprintf('%s = %s + %s', $column, $column, $is_expression ? $value : '?');
@ -434,7 +434,7 @@ class VariableBase
* @param string $value
* @return object
*/
protected function _parseSearchKeywords($value)
protected function _parseSearchKeywords($column, $value)
{
// Initialze the return values.
$where = '';