X-Git-Url: http://git.pk910.de/?p=phpgitweb.git;a=blobdiff_plain;f=htdocs%2Fpages%2Fshortlog.class.php;h=8e69ffd189df1b7a95333d1952b9bc3faa16ef4e;hp=0bd823f15b837c66b0eccce332c61beee344ed75;hb=b400fe63ce2c5db919a479101e8b261f479e8d0b;hpb=cdf14cc9d75eb1919d8730c33b2921a0112e5c23 diff --git a/htdocs/pages/shortlog.class.php b/htdocs/pages/shortlog.class.php index 0bd823f..8e69ffd 100644 --- a/htdocs/pages/shortlog.class.php +++ b/htdocs/pages/shortlog.class.php @@ -26,6 +26,8 @@ class shortlog { public function generate_shortlog($project, $head, $max, $skip, $file = null, $pages = true, $next_page = 0) { $this->project = $project; + if($head && strtolower($head) == 'all') + $head = null; $content = new ContentProvider('shortlog', 'shortlog'); if(GitConfig::GITGRAPH_ENABLE) { @@ -152,6 +154,7 @@ class page_shortlog { $project['refs'] = $phpgitweb->get_project_loader()->getProjectRefs($project); $phpgitweb->append_header_nav("shortlog", null, true); $phpgitweb->append_title("shortlog"); + CommitLoader::parse(true); $this->page = new ContentProvider('shortlog', 'main'); @@ -180,7 +183,7 @@ class page_shortlog { } $shortlog = new shortlog(); - $this->page->set('shortlog', $shortlog->generate_shortlog($project, null, 100, $skip, null, true, $next_page)); + $this->page->set('shortlog', $shortlog->generate_shortlog($project, CommitLoader::$commit_base_id, 100, $skip, null, true, $next_page)); if($shortlog->get_have_more()) $subnav->set('next', new ContentProvider('shortlog', 'shortlog_subnav_next_link', array('page' => ($pg + 1))));