We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi. I'm using your great module on postgresql db. And it's all good except 2 places where table params are escaping with mysql quotes ( ` ).
$languages = Language::find() ->select('language_id, COUNT( `lt`.`id` ) AS `status`') ->leftJoin(LanguageTranslate::tableName() . ' AS `lt`', '`language`.`language_id` = `lt`.`language`') ->groupBy('language_id') ->all();
private function _getLanguageItems() { $this->_languageItems = LanguageSource::find()->joinWith([ 'languageTranslate' => function ($query) { $query->where('language_translate.language = :language', [':language' => $this->_languageId]); } ])->where('`category` = :category', [':category' => 'javascript'])->all(); }
For postgresql usage, those quotes can be removed or use some Yii functionality ( I'm noob so i can't make pull request sorry).
Thanks in advance. Great module.
The text was updated successfully, but these errors were encountered:
Hi!
Thanks for letting me know. I'll fix this today.
Best Regards, Lajax
Sorry, something went wrong.
a3ac28d
No branches or pull requests
Hi. I'm using your great module on postgresql db. And it's all good except 2 places where table params are escaping with mysql quotes ( ` ).
Those are in Language model getGridStatistic action:
And namespace lajax\translatemanager\services; class Generator
For postgresql usage, those quotes can be removed or use some Yii functionality ( I'm noob so i can't make pull request sorry).
Thanks in advance.
Great module.
The text was updated successfully, but these errors were encountered: