* Fix bug #50106, creating a bug with moduleID.

This commit is contained in:
liumengyi
2024-05-24 16:18:07 +08:00
committed by caoyanyi
parent f20a410c91
commit 0700e1cfcb
+2 -2
View File
@@ -35,7 +35,7 @@ toolbar
'text' => $lang->bug->create,
'icon' => 'plus',
'type' => 'primary',
'url' => createLink('bug', 'create', "productID={$productID}&branch={$branchID}&extras=projectID={$project->id}")
'url' => createLink('bug', 'create', "productID={$productID}&branch={$branchID}&extras=projectID={$project->id},moduleID={$moduleID}")
)),
setData('app', 'project')
) : null
@@ -103,7 +103,7 @@ dtable
set::onRenderCell(jsRaw('window.onRenderCell')),
set::emptyTip($lang->bug->notice->noBug),
set::createTip($lang->bug->create),
set::createLink($canCreate ? createLink('bug', 'create', "productID={$productID}&branch={$branchID}&extras=projectID={$project->id}") : '')
set::createLink($canCreate ? createLink('bug', 'create', "productID={$productID}&branch={$branchID}&extras=projectID={$project->id},moduleID={$moduleID}") : '')
);
render();