SyncruleTable: order by name, fix class name

This commit is contained in:
Thomas Gelf 2015-11-26 09:36:07 +01:00
parent b1d1194834
commit f8d2843d2c
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class SyncruleTable extends QuickTable
protected function listTableClasses()
{
return array_merge(array('syncrules'), parent::listTableClasses());
return array_merge(array('syncstate'), parent::listTableClasses());
}
protected function renderAdditionalActions($row)
@ -76,7 +76,7 @@ class SyncruleTable extends QuickTable
$query = $db->select()->from(
array('s' => 'sync_rule'),
array()
)->order('id');
)->order('rule_name');
return $query;
}