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
Method getTags on Block/Sidebar/TagClaud.php has an error in one of the join conditions.
Resulting query is in my case is:
SELECT `main_table`.*, count(main_table.tag_id) AS `count` FROM `magefan_blog_tag` AS `main_table` LEFT JOIN `magefan_blog_post_tag` AS `pt` ON main_table.tag_id = pt.tag_id LEFT JOIN `magefan_blog_post` AS `p` ON p.post_id = pt.post_id LEFT JOIN `magefan_blog_post_store` AS `ps` ON p.post_id = pt.post_id WHERE (ps.store_id IN (0, 2)) GROUP BY `main_table`.`tag_id`
but it should rather be (ON p.post_id = ps.post_id)
SELECT `main_table`.*, count(main_table.tag_id) AS `count` FROM `magefan_blog_tag` AS `main_table` LEFT JOIN `magefan_blog_post_tag` AS `pt` ON main_table.tag_id = pt.tag_id LEFT JOIN `magefan_blog_post` AS `p` ON p.post_id = pt.post_id LEFT JOIN `magefan_blog_post_store` AS `ps` ON p.post_id = ps.post_id WHERE (ps.store_id IN (0, 2)) GROUP BY `main_table`.`tag_id`
The text was updated successfully, but these errors were encountered:
fixed github issue magefan#56
148dcfd
Merge pull request #57 from Hevelop/master
f0fdbbb
fixed github issue #56
Thank you for your report and solution for Magento 2 Blog.
Sorry, something went wrong.
No branches or pull requests
Method getTags on Block/Sidebar/TagClaud.php has an error in one of the join conditions.
Resulting query is in my case is:
but it should rather be (ON p.post_id = ps.post_id)
The text was updated successfully, but these errors were encountered: