diff --git a/extend/catcher/CatchQuery.php b/extend/catcher/CatchQuery.php index 0a714d2..80321e3 100644 --- a/extend/catcher/CatchQuery.php +++ b/extend/catcher/CatchQuery.php @@ -159,7 +159,11 @@ class CatchQuery extends Query $condition .= '%'; } - return parent::whereLike($this->getAlias() . '.' . $field, $condition, $logic); + if (strpos($field, '.') === false) { + $field = $this->getAlias() . '.' . $field; + } + + return parent::whereLike($field, $condition, $logic); } /**