Open JohnnyXiang opened 10 years ago
Yes, good point. Can you make a pull request?
On Fri, Mar 21, 2014 at 3:35 PM, Johnny Xiang notifications@github.comwrote:
Hi Ricardo
Thank you a lot for this great module. This is one issue i found.
In /app/code/community/RicardoMartins/OutofstockLast/Model/Catalog/Layer.php line 22
It's better to replace 'cataloginventory_stock_item' with $collection->getTable('cataloginventory/stock_item') since the table name may have prefix in some case.
Thank you
Reply to this email directly or view it on GitHubhttps://github.com/r-martins/Magento-OutOfStockLast/issues/2 .
Hi Ricardo
Thank you a lot for this great module. This is one issue i found.
In /app/code/community/RicardoMartins/OutofstockLast/Model/Catalog/Layer.php line 22
It's better to replace 'cataloginventory_stock_item' with $collection->getTable('cataloginventory/stock_item') since the table name may have prefix in some case.
Thank you