Skip to content

Commit

Permalink
#211 - fixed the List All link rendered by the RendererProviderHTML c…
Browse files Browse the repository at this point in the history
…lass
  • Loading branch information
alphadevx committed Sep 6, 2015
1 parent b1e0b82 commit ac40490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Alpha/View/Renderer/Html/RendererProviderHTML.php
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ public function adminView($fields = array())

// list all button
if ($this->BO->checkTableExists()) {
$button = new Button("document.location = '".FrontController::generateSecureURL('act=Alpha\\Controller\\ActiveRecordController&ActiveRecordType='.get_class($this->BO))."'", 'List All', 'list'.stripslashes(get_class($this->BO)).'But');
$button = new Button("document.location = '".FrontController::generateSecureURL('act=Alpha\\Controller\\ActiveRecordController&ActiveRecordType='.get_class($this->BO).'&start=0&limit='.$config->get('app.list.page.amount'))."'", 'List All', 'list'.stripslashes(get_class($this->BO)).'But');
$fields['listButton'] = $button->render();
} else {
$fields['listButton'] = '';
Expand Down

0 comments on commit ac40490

Please sign in to comment.