Improvements to traffic collection, zero record ignore, some fixes to order_by

This commit is contained in:
Deon George
2013-10-14 11:26:08 +11:00
parent 335e8e65bd
commit c347032497
6 changed files with 94 additions and 4 deletions

View File

@@ -148,7 +148,7 @@ $(document).ready(function() {
->title_icon('icon-th-list')
->body(Table::factory()
->page_items(50)
->data(ORM::factory('Charge')->where_authorised($this->ao)->where('void','is',NULL)->order_by('id DESC')->find_all())
->data(ORM::factory('Charge')->where_authorised($this->ao)->where('void','is',NULL)->order_by('id','DESC')->find_all())
->columns(array(
'id'=>'ID',
'date_charge'=>'Date',