You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describrion:
I tried to use the query builder and when I selected a field named 'notification' e.g.: user.notification I get an error that the field user.ification doesn't exist. The query builder seems to remove the 'not' of 'notification'. It works fine when I double the the word 'not' e.g.: user.notnotification
To Reproduce
The reproduction is easy. Just use the query builder and try to fetch the field 'notification' of any table
Describrion:
I tried to use the query builder and when I selected a field named 'notification' e.g.: user.notification I get an error that the field user.ification doesn't exist. The query builder seems to remove the 'not' of 'notification'. It works fine when I double the the word 'not' e.g.: user.notnotification
To Reproduce
The reproduction is easy. Just use the query builder and try to fetch the field 'notification' of any table
`$this->modelsManager->createBuilder()
->columns(['cMI.name', 'cMI.type', 'cMI.uniqueName', 'cMI.notification', 'creatorName' => 'creator.name', 'creatorName' => 'creator.name', 'modifierName' => 'modifier.name'])
->from(['cMI' => 'Common\Models\CompanyMediaImages'])
->leftJoin('Common\Models\Users', 'cMI.createdBy=creator.id', 'creator')
->leftJoin('Common\Models\Users', 'cMI.modifiedBy=modifier.id', 'modifier')
->where('cMI.companyId = :companyId:', ['companyId' => $this->company->id])
->orderBy('cMI.createdAt DESC');
$currentPage = isset($_GET['page']) ? (int)$_GET['page'] : 1;
`
Expected behavior
I expected that the fieldname not got cutted and getting a valid resultset
Details
The text was updated successfully, but these errors were encountered: