// Removed currently unused table in the dashboard

This commit is contained in:
Damien Metzger
2013-10-16 15:25:53 +02:00
parent e493305c47
commit 8cfdad9def
2 changed files with 20 additions and 19 deletions
+2 -3
View File
@@ -58,7 +58,7 @@ class Dashproducts extends Module
$table_best_sellers = $this->getTableBestSellers($params['date_from'], $params['date_to']); $table_best_sellers = $this->getTableBestSellers($params['date_from'], $params['date_to']);
$table_most_viewed = $this->getTableMostViewed($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_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( return array(
'data_table' => array( 'data_table' => array(
@@ -66,7 +66,7 @@ class Dashproducts extends Module
'table_best_sellers' => $table_best_sellers, 'table_best_sellers' => $table_best_sellers,
'table_most_viewed' => $table_most_viewed, 'table_most_viewed' => $table_most_viewed,
'table_top_10_most_search' => $table_top_10_most_search, '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) public function getTableBestSellers($date_from, $date_to)
{ {
$header = array( $header = array(
array( array(
'id' => 'image', 'id' => 'image',
@@ -91,7 +91,7 @@
</div> </div>
<div class="tab-pane" id="dash_top_search"> <div class="tab-pane" id="dash_top_search">
<div class="row"> <div class="row">
<div class="col-lg-7"> <div class="col-lg-12">
<h3>{l s="Top 10 most search terms"}</h3> <h3>{l s="Top 10 most search terms"}</h3>
<table class="table data_table" id="table_top_10_most_search"> <table class="table data_table" id="table_top_10_most_search">
<thead> <thead>
@@ -100,6 +100,7 @@
</tbody> </tbody>
</table> </table>
</div> </div>
{*
<div class="col-lg-5"> <div class="col-lg-5">
<h3>{l s="Coming soon"}</h3> <h3>{l s="Coming soon"}</h3>
<table class="table data_table" id="table_top_5_search"> <table class="table data_table" id="table_top_5_search">
@@ -109,6 +110,7 @@
</tbody> </tbody>
</table> </table>
</div> </div>
*}
</div> </div>
</div> </div>
</div> </div>