Skip to content
New issue

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

Problem with the "list" view #147

Open
ilbassa opened this issue Aug 27, 2021 · 0 comments
Open

Problem with the "list" view #147

ilbassa opened this issue Aug 27, 2021 · 0 comments
Labels

Comments

@ilbassa
Copy link

ilbassa commented Aug 27, 2021

I have a problem with the "list" view:
The query
SELECT "language", COUNT(*) AS "cnt" FROM "language_translate" WHERE translation IS NOT NULL GROUP BY "language"
give me an error because the column translation is not quoted.

The problem is in models/Language.php, the line
->andWhere('translation IS NOT NULL')
should be
->andWhere(['not', ['translation'=>null]])

Could you fix this?

@moltam moltam added the bug label Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants