Skip to content

Commit

Permalink
Bug: 14138 Paritally fix indent level when tag browser.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 19, 2015
1 parent f747154 commit 27f2fb9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion nag/lib/TagBrowser.php
Expand Up @@ -68,7 +68,14 @@ public function getSlice($page = 0, $perpage = null)
{
// Refresh the search
$this->runSearch();
return $this->_tasks->getSlice($page, $perpage);
// @todo. The paging stuff isn't used anywhere yet (i.e., we don't page)
// and this was screwing up parent/child task relationships. Instead,
// we need to somehow pass the $page/$perpage stuff to the $tasks
// iterator so it knows when to stop.
// $tasks = $this->_tasks->getSlice($page, $perpage);
// $tasks->process();

return $this->_tasks;
}

/**
Expand Down

0 comments on commit 27f2fb9

Please sign in to comment.