From 14cef2fe43fcccaca8baab876c64b7e1287f6787 Mon Sep 17 00:00:00 2001 From: sunhao Date: Thu, 26 Oct 2023 15:10:32 +0800 Subject: [PATCH] * repo: fix lastSubmitTime not show in repo list. --- module/repo/ui/maintain.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/repo/ui/maintain.html.php b/module/repo/ui/maintain.html.php index 7b6259b6b8..c0fcb7b392 100644 --- a/module/repo/ui/maintain.html.php +++ b/module/repo/ui/maintain.html.php @@ -51,6 +51,7 @@ foreach($repoList as $repo) } $repo->projectNames = trim($repo->projectNames, ','); } + if(is_object($repo->lastSubmitTime)) $repo->lastSubmitTime = $repo->lastSubmitTime->time; } $config->repo->dtable->fieldList['name']['link'] = $this->createLink('repo', 'browse', "repoID={id}&branchID=&objectID={$objectID}"); @@ -97,8 +98,7 @@ dtable set::cols($config->repo->dtable->fieldList), set::data($repos), set::sortLink(jsRaw('createSortLink')), - set::footPager(usePager()), + set::footPager(usePager()) ); render(); -