[-] CORE : fixed bug #PSCFV-4754 Image sizes are the same for all shops and themes
This commit is contained in:
@@ -81,7 +81,7 @@ class SearchControllerCore extends FrontController
|
||||
'nbProducts' => $search['total'],
|
||||
'search_query' => $query,
|
||||
'instant_search' => $this->instant_search,
|
||||
'homeSize' => Image::getSize('home_default')));
|
||||
'homeSize' => Image::getSize(ImageType::getFormatedName('home'))));
|
||||
}
|
||||
else if (($query = Tools::getValue('search_query', Tools::getValue('ref'))) && !is_array($query))
|
||||
{
|
||||
@@ -97,7 +97,7 @@ class SearchControllerCore extends FrontController
|
||||
'search_products' => $search['result'],
|
||||
'nbProducts' => $search['total'],
|
||||
'search_query' => $query,
|
||||
'homeSize' => Image::getSize('home_default')));
|
||||
'homeSize' => Image::getSize(ImageType::getFormatedName('home'))));
|
||||
}
|
||||
else if (($tag = urldecode(Tools::getValue('tag'))) && !is_array($tag))
|
||||
{
|
||||
@@ -110,7 +110,7 @@ class SearchControllerCore extends FrontController
|
||||
'products' => $result, // DEPRECATED (since to 1.4), not use this: conflict with block_cart module
|
||||
'search_products' => $result,
|
||||
'nbProducts' => $nbProducts,
|
||||
'homeSize' => Image::getSize('home_default')));
|
||||
'homeSize' => Image::getSize(ImageType::getFormatedName('home'))));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user