diff --git a/admin-dev/themes/default/template/controllers/search/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/search/helpers/view/view.tpl
index 2cafcee79..953857f88 100644
--- a/admin-dev/themes/default/template/controllers/search/helpers/view/view.tpl
+++ b/admin-dev/themes/default/template/controllers/search/helpers/view/view.tpl
@@ -34,43 +34,54 @@ $(function() {
{block name="leadin"}{/block}
{/if}
+
{if isset($features)}
+
{if !$features}
{l s='No features matching your query'} : {$query}
{else}
{l s='Features matching your query'} : {$query}
-
+
+
{foreach $features key=key item=feature}
{foreach $feature key=k item=val name=feature_list}
- | {if $smarty.foreach.feature_list.first}{$key}{/if} |
+ {if $smarty.foreach.feature_list.first}{$key}{/if} |
+
{$val.value}
|
{/foreach}
{/foreach}
+
-
{/if}
+
{/if}
+
{if isset($modules)}
+
{if !$modules}
{l s='No modules matching your query'} : {$query}
{else}
{l s='Modules matching your query'} : {$query}
-
+
-
{/if}
+
{/if}
+
{if isset($categories)}
+
{if !$categories}
{l s='No categories matching your query'} : {$query}
{else}
@@ -82,30 +93,39 @@ $(function() {
{/foreach}
-
{/if}
+
{/if}
+
{if isset($products)}
+
{if !$products}
{l s='There are no products matching your query'} : {$query}
{else}
{l s='Products matching your query'} : {$query}
{$products}
{/if}
+
{/if}
+
{if isset($customers)}
+
{if !$customers}
{l s='There are no customers matching your query'} : {$query}
{else}
{l s='Customers matching your query'} : {$query}
{$customers}
{/if}
+
{/if}
+
{if isset($orders)}
+
{if !$orders}
{l s='There are no orders matching your query'} : {$query}
{else}
{l s='Orders matching your query'} : {$query}
{$orders}
{/if}
+
{/if}
\ No newline at end of file
diff --git a/controllers/admin/AdminSearchController.php b/controllers/admin/AdminSearchController.php
index 03a993ccc..85b01a9c2 100644
--- a/controllers/admin/AdminSearchController.php
+++ b/controllers/admin/AdminSearchController.php
@@ -26,6 +26,13 @@
class AdminSearchControllerCore extends AdminController
{
+
+ public function __construct()
+ {
+ $this->bootstrap = true;
+ parent::__construct();
+ }
+
public function postProcess()
{
$this->context = Context::getContext();