From ba0e9a25137a355ea2add934c451cbb2e6c9e55a Mon Sep 17 00:00:00 2001 From: liuruogu Date: Tue, 2 Dec 2025 07:18:45 +0000 Subject: [PATCH] * [task#80049, 1h, done] Improve the fields on the mobile - end Bug creation and editing pages. --- api/v1/entries/bug.php | 2 +- api/v1/entries/bugs.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1/entries/bug.php b/api/v1/entries/bug.php index d36634bc22..82bebe2f6d 100644 --- a/api/v1/entries/bug.php +++ b/api/v1/entries/bug.php @@ -95,7 +95,7 @@ class bugEntry extends entry $oldBug = $this->loadModel('bug')->getByID($bugID); /* Set $_POST variables. */ - $fields = 'uid,title,project,execution,openedBuild,assignedTo,pri,severity,type,story,resolvedBy,resolvedBuild,resolvedDate,closedBy,resolution,product,plan,task,module,steps,mailto,keywords,deadline'; + $fields = 'uid,title,project,execution,openedBuild,assignedTo,pri,severity,type,story,resolvedBy,resolvedBuild,resolvedDate,closedBy,resolution,product,plan,task,module,steps,mailto,keywords,deadline,os,browser,feedbackBy'; $this->batchSetPost($fields, $oldBug); $this->setPost('notifyEmail', implode(',', $this->request('notifyEmail', array()))); diff --git a/api/v1/entries/bugs.php b/api/v1/entries/bugs.php index 3b2039363a..20820e29fa 100644 --- a/api/v1/entries/bugs.php +++ b/api/v1/entries/bugs.php @@ -66,7 +66,7 @@ class bugsEntry extends entry $control = $this->loadController('bug', 'create'); - $fields = 'title,project,execution,openedBuild,browser,os,assignedTo,pri,module,severity,type,story,task,mailto,keywords,steps,uid,deadline'; + $fields = 'title,project,execution,openedBuild,browser,os,assignedTo,pri,module,severity,type,story,task,mailto,keywords,steps,uid,deadline,plan,feedbackBy'; $this->batchSetPost($fields); $caseID = $this->request('case', 0);