Skip to content

Commit

Permalink
Fix API bug when requesting object lists
Browse files Browse the repository at this point in the history
  • Loading branch information
mdetrano committed Nov 18, 2016
1 parent 722c01e commit 247e8c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/Director/Web/Controller/ActionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ protected function prepareAndRenderTable($name)
$this->prepareTable($name)->setViewScript('list/table');
}

protected function provideFilterEditorForTable(QuickTable $table)
protected function provideFilterEditorForTable(QuickTable $table, $dummy = null)
{
$filterEditor = $table->getFilterEditor($this->getRequest());
$filter = $filterEditor->getFilter();
Expand Down
4 changes: 2 additions & 2 deletions library/Director/Web/Controller/ObjectsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function indexAction()
array('class' => 'icon-plus')
);

$this->provideFilterEditorForTable($table);
$this->provideFilterEditorForTable($table,$dummy);
$this->setViewScript('objects/table');
}

Expand Down Expand Up @@ -242,7 +242,7 @@ public function setsAction()
)
);

$this->provideFilterEditorForTable($table);
$this->provideFilterEditorForTable($table, $dummy);
$this->getTabs()->activate('sets');
$this->setViewScript('objects/table');
}
Expand Down

0 comments on commit 247e8c2

Please sign in to comment.