From c6d1b32f682d5be07e43487777dde198f4a97216 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Tue, 23 Jul 2024 14:40:38 +0800 Subject: [PATCH] + [task#124019,doing,0.2h] add tag table config. --- module/repo/config/dtable.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/module/repo/config/dtable.php b/module/repo/config/dtable.php index f74dce7c5c..65c8e2b740 100644 --- a/module/repo/config/dtable.php +++ b/module/repo/config/dtable.php @@ -264,3 +264,17 @@ $config->repo->reviewDtable->fieldList['openedBy']['type'] = 'user'; $config->repo->reviewDtable->fieldList['assignedTo']['type'] = 'user'; $config->repo->reviewDtable->fieldList['openedDate']['type'] = 'datetime'; + +$config->repo->dtable->tag = new stdclass(); +$config->repo->dtable->tag->fieldList['name']['title'] = $lang->repo->tag; +$config->repo->dtable->tag->fieldList['name']['type'] = 'title'; +$config->repo->dtable->tag->fieldList['name']['name'] = 'name'; + +$config->repo->dtable->tag->fieldList['committer']['title'] = $lang->repo->committer; +$config->repo->dtable->tag->fieldList['committer']['type'] = 'text'; +$config->repo->dtable->tag->fieldList['committer']['sortType'] = true; + +$config->repo->dtable->tag->fieldList['date']['title'] = $lang->repo->date; +$config->repo->dtable->tag->fieldList['date']['name'] = 'date'; +$config->repo->dtable->tag->fieldList['date']['type'] = 'datetime'; +$config->repo->dtable->tag->fieldList['date']['formatDate'] = 'YYYY-MM-dd hh:mm';