dtable.php 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. <?php
  2. global $lang, $app;
  3. $app->loadLang('sonarqube');
  4. $app->loadLang('bug');
  5. $config->repo->dtable = new stdclass();
  6. $config->repo->dtable->fieldList['name']['name'] = 'name';
  7. $config->repo->dtable->fieldList['name']['title'] = $lang->repo->name;
  8. $config->repo->dtable->fieldList['name']['type'] = 'title';
  9. $config->repo->dtable->fieldList['name']['width'] = '0.2';
  10. $config->repo->dtable->fieldList['name']['hint'] = '{desc}';
  11. $config->repo->dtable->fieldList['product']['name'] = 'productNames';
  12. $config->repo->dtable->fieldList['product']['title'] = $lang->repo->product;
  13. $config->repo->dtable->fieldList['product']['type'] = 'text';
  14. $config->repo->dtable->fieldList['product']['sortType'] = false;
  15. $config->repo->dtable->fieldList['product']['width'] = '136';
  16. $config->repo->dtable->fieldList['product']['hint'] = true;
  17. $config->repo->dtable->fieldList['scm']['name'] = 'SCM';
  18. $config->repo->dtable->fieldList['scm']['title'] = $lang->repo->type;
  19. $config->repo->dtable->fieldList['scm']['type'] = 'scm';
  20. $config->repo->dtable->fieldList['scm']['sortType'] = true;
  21. $config->repo->dtable->fieldList['scm']['map'] = $lang->repo->scmList;
  22. $config->repo->dtable->fieldList['scm']['group'] = 1;
  23. $config->repo->dtable->fieldList['path']['name'] = 'codePath';
  24. $config->repo->dtable->fieldList['path']['title'] = $lang->repo->path;
  25. $config->repo->dtable->fieldList['path']['type'] = 'text';
  26. $config->repo->dtable->fieldList['path']['hint'] = true;
  27. $config->repo->dtable->fieldList['path']['width'] = '260';
  28. $config->repo->dtable->fieldList['path']['group'] = 1;
  29. $config->repo->dtable->fieldList['lastSubmit']['name'] = 'lastSubmitTime';
  30. $config->repo->dtable->fieldList['lastSubmit']['title'] = $lang->repo->lastSubmitTime;
  31. $config->repo->dtable->fieldList['lastSubmit']['type'] = 'datetime';
  32. $config->repo->dtable->fieldList['lastSubmit']['formatDate'] = 'YYYY-MM-dd hh:mm';
  33. $config->repo->dtable->fieldList['lastSubmit']['sortType'] = false;
  34. $config->repo->dtable->fieldList['lastSubmit']['width'] = '100';
  35. $config->repo->dtable->fieldList['job']['name'] = 'job';
  36. $config->repo->dtable->fieldList['job']['hidden'] = true;
  37. $config->repo->dtable->fieldList['actions']['name'] = 'actions';
  38. $config->repo->dtable->fieldList['actions']['title'] = $lang->actions;
  39. $config->repo->dtable->fieldList['actions']['type'] = 'actions';
  40. $config->repo->dtable->fieldList['actions']['width'] = '132';
  41. $config->repo->dtable->fieldList['actions']['menu'] = array('visit', 'execJob', 'reportView', 'edit', 'delete');
  42. $config->repo->dtable->fieldList['actions']['list']['visit']['icon'] = 'menu-my';
  43. $config->repo->dtable->fieldList['actions']['list']['visit']['hint'] = $lang->repo->visit;
  44. $config->repo->dtable->fieldList['actions']['list']['visit']['target'] = '_blank';
  45. $config->repo->dtable->fieldList['actions']['list']['edit']['icon'] = 'edit';
  46. $config->repo->dtable->fieldList['actions']['list']['edit']['hint'] = $lang->repo->edit;
  47. $config->repo->dtable->fieldList['actions']['list']['execJob']['icon'] = 'sonarqube';
  48. $config->repo->dtable->fieldList['actions']['list']['execJob']['hint'] = $lang->sonarqube->execJob;
  49. $config->repo->dtable->fieldList['actions']['list']['execJob']['url'] = array('module' => 'sonarqube', 'method' => 'execJob', 'params' => "jobID={job}");
  50. $config->repo->dtable->fieldList['actions']['list']['execJob']['className'] = 'ajax-submit';
  51. $config->repo->dtable->fieldList['actions']['list']['reportView']['icon'] = 'audit';
  52. $config->repo->dtable->fieldList['actions']['list']['reportView']['hint'] = $lang->sonarqube->reportView;
  53. $config->repo->dtable->fieldList['actions']['list']['reportView']['url'] = array('module' => 'sonarqube', 'method' => 'reportView', 'params' => "jobID={job}");
  54. $config->repo->dtable->fieldList['actions']['list']['reportView']['data-toggle'] = 'modal';
  55. $config->repo->dtable->fieldList['actions']['list']['delete']['icon'] = 'trash';
  56. $config->repo->dtable->fieldList['actions']['list']['delete']['hint'] = $lang->repo->delete;
  57. $config->repo->dtable->fieldList['actions']['list']['delete']['data-confirm'] = array('message' => $lang->repo->notice->delete, 'icon' => 'icon-exclamation-sign', 'iconClass' => 'warning-pale rounded-full icon-2x');
  58. $config->repo->dtable->fieldList['actions']['list']['delete']['className'] = 'ajax-submit';
  59. $config->repo->dtable->fieldList['actions']['list']['delete']['url'] = helper::createLink('repo', 'delete', 'repoID={id}');
  60. $config->repo->repoDtable = new stdclass();
  61. $config->repo->repoDtable->fieldList['name']['name'] = 'name';
  62. $config->repo->repoDtable->fieldList['name']['title'] = $lang->repo->name;
  63. $config->repo->repoDtable->fieldList['name']['minWidth'] = '160';
  64. $config->repo->repoDtable->fieldList['name']['sortType'] = false;
  65. $config->repo->repoDtable->fieldList['name']['type'] = 'shortTitle';
  66. $config->repo->repoDtable->fieldList['name']['fixed'] = false;
  67. $config->repo->repoDtable->fieldList['name']['hint'] = true;
  68. $config->repo->repoDtable->fieldList['name']['checkbox'] = false;
  69. $config->repo->repoDtable->fieldList['revision']['name'] = 'revision';
  70. $config->repo->repoDtable->fieldList['revision']['title'] = $lang->repo->revisions;
  71. $config->repo->repoDtable->fieldList['revision']['sortType'] = false;
  72. $config->repo->repoDtable->fieldList['revision']['width'] = '90';
  73. $config->repo->repoDtable->fieldList['revision']['hint'] = true;
  74. $config->repo->repoDtable->fieldList['time']['name'] = 'date';
  75. $config->repo->repoDtable->fieldList['time']['title'] = $lang->repo->time;
  76. $config->repo->repoDtable->fieldList['time']['sortType'] = false;
  77. $config->repo->repoDtable->fieldList['time']['type'] = 'date';
  78. $config->repo->repoDtable->fieldList['time']['hint'] = true;
  79. $config->repo->repoDtable->fieldList['committer']['name'] = 'account';
  80. $config->repo->repoDtable->fieldList['committer']['title'] = $lang->repo->committer;
  81. $config->repo->repoDtable->fieldList['committer']['sortType'] = false;
  82. $config->repo->repoDtable->fieldList['committer']['width'] = '90';
  83. $config->repo->repoDtable->fieldList['committer']['hint'] = true;
  84. $config->repo->repoDtable->fieldList['comment']['name'] = 'originalComment';
  85. $config->repo->repoDtable->fieldList['comment']['title'] = $lang->repo->comment;
  86. $config->repo->repoDtable->fieldList['comment']['sortType'] = false;
  87. $config->repo->repoDtable->fieldList['comment']['type'] = 'text';
  88. $config->repo->repoDtable->fieldList['comment']['hint'] = true;
  89. $config->repo->commentDtable = new stdclass();
  90. $config->repo->commentDtable->fieldList['id']['title'] = '';
  91. $config->repo->commentDtable->fieldList['id']['name'] = '';
  92. $config->repo->commentDtable->fieldList['id']['type'] = 'checkID';
  93. $config->repo->commentDtable->fieldList['id']['fixed'] = false;
  94. $config->repo->commentDtable->fieldList['id']['sortType'] = false;
  95. $config->repo->commentDtable->fieldList['id']['checkbox'] = true;
  96. $config->repo->commentDtable->fieldList['id']['width'] = '25';
  97. $config->repo->commentDtable->fieldList['revision']['name'] = 'revision';
  98. $config->repo->commentDtable->fieldList['revision']['title'] = $lang->repo->revisions;
  99. $config->repo->commentDtable->fieldList['revision']['sortType'] = false;
  100. $config->repo->commentDtable->fieldList['revision']['type'] = 'title';
  101. $config->repo->commentDtable->fieldList['revision']['fixed'] = false;
  102. $config->repo->commentDtable->fieldList['revision']['width'] = '100';
  103. $config->repo->commentDtable->fieldList['revision']['hint'] = true;
  104. $config->repo->commentDtable->fieldList['commit']['name'] = 'commit';
  105. $config->repo->commentDtable->fieldList['commit']['title'] = $lang->repo->commit;
  106. $config->repo->commentDtable->fieldList['commit']['sortType'] = false;
  107. $config->repo->commentDtable->fieldList['commit']['width'] = '50';
  108. $config->repo->commentDtable->fieldList['commit']['hint'] = true;
  109. $config->repo->commentDtable->fieldList['time'] = $config->repo->repoDtable->fieldList['time'];
  110. $config->repo->commentDtable->fieldList['time']['name'] = 'time';
  111. $config->repo->commentDtable->fieldList['time']['type'] = 'datetime';
  112. $config->repo->commentDtable->fieldList['committer'] = $config->repo->repoDtable->fieldList['committer'];
  113. $config->repo->commentDtable->fieldList['committer']['name'] = 'committer';
  114. $config->repo->commentDtable->fieldList['comment'] = $config->repo->repoDtable->fieldList['comment'];
  115. $config->repo->commentDtable->fieldList['comment']['name'] = 'originalComment';
  116. $config->repo->logDtable = new stdclass();
  117. $config->repo->logDtable->fieldList['id']['hidden'] = true;
  118. $config->repo->logDtable->fieldList['revision']['type'] = 'revision';
  119. $config->repo->logDtable->fieldList['revision']['width'] = '160';
  120. $config->repo->logDtable->fieldList['revision']['checkbox'] = true;
  121. $config->repo->logDtable->fieldList['revision']['nestedToggle'] = false;
  122. $config->repo->logDtable->fieldList['revision']['data-app'] = $app->tab;
  123. $config->repo->logDtable->fieldList['date']['name'] = 'time';
  124. $config->repo->logDtable->fieldList['date']['type'] = 'datetime';
  125. $config->repo->logDtable->fieldList['date']['sortType'] = false;
  126. $config->repo->logDtable->fieldList['date']['width'] = '160';
  127. $config->repo->logDtable->fieldList['committer']['name'] = 'committer';
  128. $config->repo->logDtable->fieldList['committer']['width'] = '160';
  129. $config->repo->logDtable->fieldList['relations']['name'] = 'relations';
  130. $config->repo->logDtable->fieldList['relations']['type'] = 'html';
  131. $config->repo->logDtable->fieldList['relations']['width'] = '450';
  132. $config->repo->logDtable->fieldList['relations']['title'] = $lang->repo->relations;
  133. $config->repo->logDtable->fieldList['comment']['type'] = 'html';
  134. $config->repo->logDtable->fieldList['comment']['width'] = '400';
  135. $config->repo->blameDtable = new stdclass();
  136. $config->repo->blameDtable->fieldList['revision']['type'] = 'revision';
  137. $config->repo->blameDtable->fieldList['revision']['width'] = '120';
  138. $config->repo->blameDtable->fieldList['commit']['type'] = 'number';
  139. $config->repo->blameDtable->fieldList['commit']['sortType'] = false;
  140. $config->repo->blameDtable->fieldList['commit']['width'] = '80';
  141. $config->repo->blameDtable->fieldList['committer']['name'] = 'committer';
  142. $config->repo->blameDtable->fieldList['committer']['width'] = '150';
  143. $config->repo->blameDtable->fieldList['line']['type'] = 'number';
  144. $config->repo->blameDtable->fieldList['line']['sortType'] = false;
  145. $config->repo->blameDtable->fieldList['line']['width'] = '80';
  146. $config->repo->blameDtable->fieldList['content']['title'] = $lang->repo->code;
  147. $config->repo->blameDtable->fieldList['content']['type'] = 'html';
  148. $config->repo->blameDtable->fieldList['content']['width'] = '700';
  149. $app->loadLang('task');
  150. $app->loadModuleConfig('task');
  151. $config->repo->taskDtable = new stdclass();
  152. $config->repo->taskDtable->fieldList = array();
  153. $config->repo->taskDtable->fieldList['id']['name'] = 'id';
  154. $config->repo->taskDtable->fieldList['id']['title'] = $lang->idAB;
  155. $config->repo->taskDtable->fieldList['id']['type'] = 'checkID';
  156. $config->repo->taskDtable->fieldList['id']['checkbox'] = true;
  157. $config->repo->taskDtable->fieldList['pri']['title'] = $lang->priAB;
  158. $config->repo->taskDtable->fieldList['pri']['type'] = 'pri';
  159. $config->repo->taskDtable->fieldList['pri']['sortType'] = true;
  160. $config->repo->taskDtable->fieldList['pri']['show'] = true;
  161. $config->repo->taskDtable->fieldList['pri']['group'] = 1;
  162. $config->repo->taskDtable->fieldList['pri']['fixed'] = 'left';
  163. $config->repo->taskDtable->fieldList['name']['flex'] = 1;
  164. $config->repo->taskDtable->fieldList['name']['nestedToggle'] = true;
  165. $config->repo->taskDtable->fieldList['name']['sortType'] = true;
  166. $config->repo->taskDtable->fieldList['name']['required'] = true;
  167. $config->repo->taskDtable->fieldList['name']['fixed'] = 'left';
  168. $config->repo->taskDtable->fieldList['name']['type'] = 'nestedTitle';
  169. $config->repo->taskDtable->fieldList['name']['title'] = $lang->task->name;
  170. $config->repo->taskDtable->fieldList['name']['data-toggle'] = 'modal';
  171. $config->repo->taskDtable->fieldList['name']['data-size'] = 'lg';
  172. $config->repo->taskDtable->fieldList['name']['link'] = array('module' => 'task', 'method' => 'view', 'params' => 'taskID={id}', 'target' => '_blank');
  173. $config->repo->taskDtable->fieldList['finishedBy']['title'] = $lang->task->finishedByAB;
  174. $config->repo->taskDtable->fieldList['finishedBy']['type'] = 'user';
  175. $config->repo->taskDtable->fieldList['finishedBy']['sortType'] = true;
  176. $config->repo->taskDtable->fieldList['finishedBy']['show'] = true;
  177. $config->repo->taskDtable->fieldList['finishedBy']['group'] = 4;
  178. $config->repo->taskDtable->fieldList['assignedTo']['type'] = 'user';
  179. $config->repo->taskDtable->fieldList['assignedTo']['sortType'] = true;
  180. $config->repo->taskDtable->fieldList['assignedTo']['show'] = true;
  181. $config->repo->taskDtable->fieldList['assignedTo']['group'] = 3;
  182. $config->repo->taskDtable->fieldList['assignedTo']['currentUser'] = '';
  183. $config->repo->taskDtable->fieldList['assignedTo']['title'] = $lang->task->assignedTo;
  184. $config->repo->taskDtable->fieldList['assignedTo']['assignLink'] = array('module' => 'task', 'method' => 'assignTo', 'params' => 'executionID={execution}&taskID={id}');
  185. $config->repo->taskDtable->fieldList['status']['title'] = $lang->statusAB;
  186. $config->repo->taskDtable->fieldList['status']['type'] = 'status';
  187. $config->repo->taskDtable->fieldList['status']['statusMap'] = $lang->task->statusList;
  188. $config->repo->taskDtable->fieldList['status']['sortType'] = true;
  189. $config->repo->taskDtable->fieldList['status']['show'] = true;
  190. $config->repo->taskDtable->fieldList['status']['group'] = 1;
  191. $config->repo->reviewDtable = new stdclass();
  192. $config->repo->reviewDtable->fieldList['id']['title'] = $lang->idAB;
  193. $config->repo->reviewDtable->fieldList['id']['type'] = 'id';
  194. $config->repo->reviewDtable->fieldList['title']['type'] = 'title';
  195. $config->repo->reviewDtable->fieldList['title']['data-app'] = $app->tab;
  196. $config->repo->reviewDtable->fieldList['title']['link'] = array('module' => 'bug', 'method' => 'view', 'params' => 'bugID={id}&from=repo');
  197. if($app->tab != 'devops')
  198. {
  199. $config->repo->reviewDtable->fieldList['repo']['title'] = $lang->repo->common;
  200. $config->repo->reviewDtable->fieldList['repo']['name'] = 'repoName';
  201. $config->repo->reviewDtable->fieldList['repo']['width'] = '150';
  202. }
  203. $config->repo->reviewDtable->fieldList['fileLocation']['title'] = $lang->repo->codeLocation;
  204. $config->repo->reviewDtable->fieldList['fileLocation']['name'] = 'entry';
  205. $config->repo->reviewDtable->fieldList['fileLocation']['width'] = '300';
  206. $config->repo->reviewDtable->fieldList['revisionA']['name'] = 'revisionA';
  207. $config->repo->reviewDtable->fieldList['revisionA']['width'] = '100';
  208. $config->repo->reviewDtable->fieldList['revisionA']['hint'] = true;
  209. $config->repo->reviewDtable->fieldList['revisionA']['link'] = array('module' => 'repo', 'method' => 'revision', 'params' => 'repoID={repo}&objectID=0&revision={v2}');
  210. $app->loadLang('bug');
  211. $config->repo->reviewDtable->fieldList['type']['title'] = $lang->repo->type;
  212. $config->repo->reviewDtable->fieldList['type']['name'] = 'type';
  213. $config->repo->reviewDtable->fieldList['type']['map'] = $lang->repo->typeList;
  214. $config->repo->reviewDtable->fieldList['type']['map'] += $lang->bug->typeList;
  215. $config->repo->reviewDtable->fieldList['status']['map'] = $lang->bug->statusList;
  216. $config->repo->reviewDtable->fieldList['openedBy']['type'] = 'user';
  217. $config->repo->reviewDtable->fieldList['assignedTo']['type'] = 'user';
  218. $config->repo->reviewDtable->fieldList['openedDate']['type'] = 'datetime';
  219. $config->repo->dtable->tag = new stdclass();
  220. $config->repo->dtable->tag->fieldList['name']['title'] = $lang->repo->tag;
  221. $config->repo->dtable->tag->fieldList['name']['type'] = 'title';
  222. $config->repo->dtable->tag->fieldList['name']['name'] = 'name';
  223. $config->repo->dtable->tag->fieldList['name']['fixed'] = 0;
  224. $config->repo->dtable->tag->fieldList['name']['width'] = 250;
  225. $config->repo->dtable->tag->fieldList['name']['order'] = 10;
  226. $config->repo->dtable->tag->fieldList['name']['group'] = 1;
  227. $config->repo->dtable->tag->fieldList['createdDate']['title'] = $lang->repo->openedDate;
  228. $config->repo->dtable->tag->fieldList['createdDate']['type'] = 'datetime';
  229. $config->repo->dtable->tag->fieldList['createdDate']['formatDate'] = 'YYYY-MM-dd hh:mm';
  230. $config->repo->dtable->tag->fieldList['createdDate']['order'] = 30;
  231. $config->repo->dtable->tag->fieldList['createdDate']['group'] = 1;
  232. $config->repo->dtable->tag->fieldList['createdDate']['sortType'] = false;
  233. $config->repo->dtable->tag->fieldList['commitID']['title'] = $lang->repo->sourceCommit;
  234. $config->repo->dtable->tag->fieldList['commitID']['link'] = helper::createLink('repo', 'revision', 'repoID={repoID}&objectID={objectID}&revision={commitID}');
  235. $config->repo->dtable->tag->fieldList['commitID']['data-app'] = $app->tab;
  236. $config->repo->dtable->tag->fieldList['commitID']['type'] = 'desc';
  237. $config->repo->dtable->tag->fieldList['commitID']['flex'] = 0;
  238. $config->repo->dtable->tag->fieldList['commitID']['sortType'] = true;
  239. $config->repo->dtable->tag->fieldList['commitID']['order'] = 50;
  240. $config->repo->dtable->tag->fieldList['commitID']['width'] = 100;
  241. $config->repo->dtable->tag->fieldList['commitID']['group'] = 2;
  242. $config->repo->dtable->tag->fieldList['commitID']['sortType'] = false;
  243. $config->repo->dtable->tag->fieldList['committer']['title'] = $lang->repo->lastCommitter;
  244. $config->repo->dtable->tag->fieldList['committer']['type'] = 'user';
  245. $config->repo->dtable->tag->fieldList['committer']['sortType'] = true;
  246. $config->repo->dtable->tag->fieldList['committer']['order'] = 60;
  247. $config->repo->dtable->tag->fieldList['committer']['width'] = 100;
  248. $config->repo->dtable->tag->fieldList['committer']['group'] = 2;
  249. $config->repo->dtable->tag->fieldList['committer']['sortType'] = false;
  250. $config->repo->dtable->tag->fieldList['date']['title'] = $lang->repo->time;
  251. $config->repo->dtable->tag->fieldList['date']['name'] = 'date';
  252. $config->repo->dtable->tag->fieldList['date']['type'] = 'datetime';
  253. $config->repo->dtable->tag->fieldList['date']['formatDate'] = 'YYYY-MM-dd hh:mm';
  254. $config->repo->dtable->tag->fieldList['date']['order'] = 70;
  255. $config->repo->dtable->tag->fieldList['date']['group'] = 2;
  256. $config->repo->dtable->tag->fieldList['message']['title'] = $lang->repo->comment;
  257. $config->repo->dtable->tag->fieldList['message']['type'] = 'text';
  258. $config->repo->dtable->tag->fieldList['message']['order'] = 40;
  259. $config->repo->dtable->tag->fieldList['message']['group'] = 1;
  260. $config->repo->dtable->branch = new stdclass();
  261. $config->repo->dtable->branch->fieldList['name']['title'] = $lang->repo->branch;
  262. $config->repo->dtable->branch->fieldList['name']['type'] = 'title';
  263. $config->repo->dtable->branch->fieldList['name']['name'] = 'name';
  264. $config->repo->dtable->branch->fieldList['name']['sortType'] = false;
  265. $config->repo->dtable->branch->fieldList['commitID']['title'] = $lang->repo->commit;
  266. $config->repo->dtable->branch->fieldList['commitID']['type'] = 'desc';
  267. $config->repo->dtable->branch->fieldList['commitID']['flex'] = 0;
  268. $config->repo->dtable->branch->fieldList['commitID']['link'] = helper::createLink('repo', 'revision', 'repoID={repoID}&objectID={objectID}&revision={commitID}');
  269. $config->repo->dtable->branch->fieldList['commitID']['data-app'] = $app->tab;
  270. $config->repo->dtable->branch->fieldList['commitID']['sortType'] = true;
  271. $config->repo->dtable->branch->fieldList['commitID']['order'] = 30;
  272. $config->repo->dtable->branch->fieldList['commitID']['width'] = 100;
  273. $config->repo->dtable->branch->fieldList['commitID']['sortType'] = false;
  274. $config->repo->dtable->branch->fieldList['committer']['title'] = $lang->repo->lastCommitter;
  275. $config->repo->dtable->branch->fieldList['committer']['type'] = 'user';
  276. $config->repo->dtable->branch->fieldList['committer']['sortType'] = true;
  277. $config->repo->dtable->branch->fieldList['committer']['order'] = 40;
  278. $config->repo->dtable->branch->fieldList['committer']['width'] = 100;
  279. $config->repo->dtable->branch->fieldList['committer']['sortType'] = false;
  280. $config->repo->dtable->branch->fieldList['commitDate']['title'] = $lang->repo->time;
  281. $config->repo->dtable->branch->fieldList['commitDate']['name'] = 'commitDate';
  282. $config->repo->dtable->branch->fieldList['commitDate']['type'] = 'datetime';
  283. $config->repo->dtable->branch->fieldList['commitDate']['formatDate'] = 'YYYY-MM-dd hh:mm';
  284. $config->repo->dtable->branch->fieldList['commitDate']['sortType'] = false;
  285. $config->repo->dtable->branch->fieldList['commitDate']['order'] = 50;