Removed the use of TemplateDefault::filter()

This commit is contained in:
Deon George
2013-06-10 21:48:06 +10:00
parent abddbd31a2
commit 0ba1177c87
7 changed files with 90 additions and 105 deletions

View File

@@ -19,8 +19,8 @@ class Controller_Reseller_Service_Domain extends Controller_Service {
->title('Domain License Services')
->title_icon('icon-th-list')
->body(Table::factory()
->jssort('adsl')
->data($this->filter(ORM::factory('Service')->list_byplugin('DOMAIN'),$this->ao->RTM->customers($this->ao->RTM),'account_id','name()'))
->jssort('domain')
->data(ORM::factory('Service')->where('account_id','IN',$this->ao->RTM->customers($this->ao->RTM))->list_byplugin('DOMAIN'))
->columns(array(
'id'=>'ID',
'name()'=>'Service',