diff --git a/library/Director/Web/Table/ApplyRulesTable.php b/library/Director/Web/Table/ApplyRulesTable.php index 1e99b47e..e46c7e0d 100644 --- a/library/Director/Web/Table/ApplyRulesTable.php +++ b/library/Director/Web/Table/ApplyRulesTable.php @@ -35,6 +35,12 @@ class ApplyRulesTable extends ZfQueryBasedTable return ['Name', 'assign where'/*, 'Actions'*/]; } + public function assemble() + { + $this->generateHeader(); + return parent::assemble(); + } + public function renderRow($row) { $url = Url::fromPath("director/{$this->type}/edit", [ diff --git a/library/Director/Web/Table/ObjectSetTable.php b/library/Director/Web/Table/ObjectSetTable.php index 1c3c6246..ea9a3522 100644 --- a/library/Director/Web/Table/ObjectSetTable.php +++ b/library/Director/Web/Table/ObjectSetTable.php @@ -24,6 +24,12 @@ class ObjectSetTable extends ZfQueryBasedTable return $table; } + public function assemble() + { + $this->generateHeader(); + return parent::assemble(); + } + public function getType() { return $this->type; diff --git a/library/Director/Web/Table/ObjectsTable.php b/library/Director/Web/Table/ObjectsTable.php index fda359f0..b872ae4a 100644 --- a/library/Director/Web/Table/ObjectsTable.php +++ b/library/Director/Web/Table/ObjectsTable.php @@ -123,6 +123,12 @@ class ObjectsTable extends ZfQueryBasedTable return $cols; } + public function assemble() + { + $this->generateHeader(); + parent::assemble(); + } + public function renderRow($row) { $tr = static::tr([ diff --git a/library/Director/Web/Table/ObjectsTableHost.php b/library/Director/Web/Table/ObjectsTableHost.php index 7a9e5b63..6ee40c26 100644 --- a/library/Director/Web/Table/ObjectsTableHost.php +++ b/library/Director/Web/Table/ObjectsTableHost.php @@ -29,12 +29,14 @@ class ObjectsTableHost extends ObjectsTable 'address' => 'Address' ]; - protected function assemble() + public function assemble() { $this->enableMultiSelect( 'director/hosts/edit', 'director/hosts', ['name'] ); + + parent::assemble(); } } diff --git a/library/Director/Web/Table/ObjectsTableService.php b/library/Director/Web/Table/ObjectsTableService.php index aa65eb84..475eadc2 100644 --- a/library/Director/Web/Table/ObjectsTableService.php +++ b/library/Director/Web/Table/ObjectsTableService.php @@ -29,13 +29,15 @@ class ObjectsTableService extends ObjectsTable 'id' => 'o.id', ]; } - protected function assemble() + + public function assemble() { $this->enableMultiSelect( 'director/services/edit', 'director/services', ['id'] ); + parent::assemble(); } public function getColumnsToBeRendered() diff --git a/library/Director/Web/Table/TemplatesTable.php b/library/Director/Web/Table/TemplatesTable.php index 7816b0a3..a3648bcb 100644 --- a/library/Director/Web/Table/TemplatesTable.php +++ b/library/Director/Web/Table/TemplatesTable.php @@ -28,6 +28,12 @@ class TemplatesTable extends ZfQueryBasedTable return $table; } + public function assemble() + { + $this->generateHeader(); + return parent::assemble(); + } + public function getType() { return $this->type;