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
Still not fully correct, as there are oddities when parents are not
tagged with the tag being searched. This appears to also happen
when searching on other properties too, when the parent isn't
included in search result. Too many hours on this today...
  • Loading branch information
mrubinsk committed Oct 19, 2015
1 parent 0583e53 commit 096dca5
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 096dca5

Please sign in to comment.