mirasvit / module-blog

Magento 2 Blog Extension
https://mirasvit.com/magento-2-extensions/blog.html
Open Software License 3.0
68 stars 48 forks source link

Author page gives Mysql Error #124

Closed WesleyJustin closed 5 years ago

WesleyJustin commented 5 years ago

Dear staff of Mirasvit,

We have installed your module Mirasvit_Blog via Composer from the URL https://github.com/mirasvit/module-blog. First of all, what a great module, everything is working perfectly.

I just wanted to inform you that, whenever you are at a post URL, and you click on the author, we get an error (see attachment).

We have edited the Model/Url.php on line 253. Once you change ->addFieldToFilter('user_id', $parts[1]) To ->addFieldToFilter('main_table.user_id', $parts[1])

You can get redirected to every posts the specific author made. This is just what we did, and if there is any better change to commit, please let us know.

Also, if you plan on commiting this fix to a next release, please let us know, so we can run a composer update.

Thanks again for this amazing module.

screenshot