order statistik, tablesorter hover, html id for filter

This commit is contained in:
Robert Hofer
2014-12-01 08:03:41 +00:00
parent 294c812620
commit 9325ebecbf
3 changed files with 11 additions and 3 deletions
+5 -1
View File
@@ -115,9 +115,13 @@ class statistik extends basis_db
* Laedt alle Statistiken
* @return true wenn ok, sonst false
*/
public function getAll()
public function getAll($order = FALSE)
{
$qry = 'SELECT * FROM public.tbl_statistik';
if($order) {
$qry .= ' ORDER BY ' . $order;
}
if($result = $this->db_query($qry))
{