mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +09:00
fix to get the column variable
This commit is contained in:
parent
a9ff791f4b
commit
1b80db4652
1 changed files with 2 additions and 2 deletions
|
|
@ -237,7 +237,7 @@ class VariableBase
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'search':
|
case 'search':
|
||||||
list($where, $params[]) = $this->_parseSearchKeywords($value);
|
list($where, $params[]) = $this->_parseSearchKeywords($column, $value);
|
||||||
break;
|
break;
|
||||||
case 'plus':
|
case 'plus':
|
||||||
$where = sprintf('%s = %s + %s', $column, $column, $is_expression ? $value : '?');
|
$where = sprintf('%s = %s + %s', $column, $column, $is_expression ? $value : '?');
|
||||||
|
|
@ -434,7 +434,7 @@ class VariableBase
|
||||||
* @param string $value
|
* @param string $value
|
||||||
* @return object
|
* @return object
|
||||||
*/
|
*/
|
||||||
protected function _parseSearchKeywords($value)
|
protected function _parseSearchKeywords($column, $value)
|
||||||
{
|
{
|
||||||
// Initialze the return values.
|
// Initialze the return values.
|
||||||
$where = '';
|
$where = '';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue