* Fix bug#34105.

This commit is contained in:
朱金勇
2023-04-18 08:36:52 +00:00
parent e62f6a4b25
commit a3bc8b32f1
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -604,6 +604,7 @@ ALTER TABLE `zt_kanbanlane`
CHANGE `lastEditedTime` `lastEditedTime` datetime NULL;
ALTER TABLE `zt_kanbanregion`
CHANGE `space` `space` mediumint unsigned NOT NULL DEFAULT '0';
CHANGE `lastEditedBy` `lastEditedBy` char(30) NOT NULL DEFAULT '',
CHANGE `lastEditedDate` `lastEditedDate` datetime NULL;
+1 -1
View File
@@ -964,7 +964,7 @@ CREATE TABLE IF NOT EXISTS `zt_kanban` (
-- DROP TABLE IF EXISTS `zt_kanbanregion`;
CREATE TABLE IF NOT EXISTS `zt_kanbanregion` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`space` mediumint(8) unsigned NOT NULL,
`space` mediumint(8) unsigned NOT NULL DEFAULT '0',
`kanban` mediumint(8) unsigned NOT NULL,
`name` varchar(255) NOT NULL,
`order` mediumint(8) NOT NULL DEFAULT '0',
+2 -2
View File
@@ -224,8 +224,8 @@ class release extends control
$leftBugPager = new pager($type == 'leftBug' ? $recTotal : 0, $recPerPage, $type == 'leftBug' ? $pageID : 1);
$leftBugs = $this->dao->select("*, IF(`severity` = 0, {$this->config->maxPriValue}, `severity`) as severityOrder")->from(TABLE_BUG)
->where('id')->in($release->leftBugs)
->andWhere('deleted')->eq(0)
->where('deleted')->eq(0)
->beginIF($release->leftBugs)->andWhere('id')->in($release->leftBugs)->fi()
->beginIF($type == 'leftBug')->orderBy($sort)->fi()
->page($leftBugPager)
->fetchAll();