// Removed currently unused table in the dashboard
This commit is contained in:
1 parent
e493305c47
commit
8cfdad9def
2 files changed
+5
-4
No files matched your search
@@ -58,7 +58,7 @@ class Dashproducts extends Module
|
||||
$table_best_sellers = $this->getTableBestSellers($params['date_from'], $params['date_to']);
|
||||
$table_most_viewed = $this->getTableMostViewed($params['date_from'], $params['date_to']);
|
||||
$table_top_10_most_search = $this->getTableTop10MostSearch($params['date_from'], $params['date_to']);
|
||||
$table_top_5_search = $this->getTableTop5Search();
|
||||
//$table_top_5_search = $this->getTableTop5Search();
|
||||
|
||||
return array(
|
||||
'data_table' => array(
|
||||
@@ -66,7 +66,7 @@ class Dashproducts extends Module
|
||||
'table_best_sellers' => $table_best_sellers,
|
||||
'table_most_viewed' => $table_most_viewed,
|
||||
'table_top_10_most_search' => $table_top_10_most_search,
|
||||
'table_top_5_search' => $table_top_5_search
|
||||
//'table_top_5_search' => $table_top_5_search
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -125,7 +125,6 @@ class Dashproducts extends Module
|
||||
|
||||
public function getTableBestSellers($date_from, $date_to)
|
||||
{
|
||||
|
||||
$header = array(
|
||||
array(
|
||||
'id' => 'image',
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
</div>
|
||||
<div class="tab-pane" id="dash_top_search">
|
||||
<div class="row">
|
||||
<div class="col-lg-7">
|
||||
<div class="col-lg-12">
|
||||
<h3>{l s="Top 10 most search terms"}</h3>
|
||||
<table class="table data_table" id="table_top_10_most_search">
|
||||
<thead>
|
||||
@@ -100,6 +100,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{*
|
||||
<div class="col-lg-5">
|
||||
<h3>{l s="Coming soon"}</h3>
|
||||
<table class="table data_table" id="table_top_5_search">
|
||||
@@ -109,6 +110,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
*}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user