* The projectID is brought in by default to create execution under the project.

This commit is contained in:
tianshujie
2023-10-12 08:55:51 +08:00
parent 2baa06959c
commit d28f45b1dc
+2 -2
View File
@@ -111,7 +111,7 @@ featureBar
);
/* zin: Define the toolbar on main menu. */
$createLink = $isStage ? createLink('programplan', 'create', "projectID=$projectID&productID=$productID") : createLink('execution', 'create');
$createLink = $isStage ? createLink('programplan', 'create', "projectID={$projectID}&productID={$productID}") : createLink('execution', 'create', "projectID={$projectID}");
toolbar
(
hasPriv('execution', 'export') ? item(set(array
@@ -120,7 +120,7 @@ toolbar
'text' => $lang->programplan->exporting,
'class' => "ghost export",
'data-toggle' => "modal",
'url' => createLink('execution', 'export', "status=$status&productID=$productID&orderBy=$orderBy&from=project"),
'url' => createLink('execution', 'export', "status={$status}&productID={$productID}&orderBy={$orderBy}&from=project"),
))) : null,
hasPriv('execution', 'create') ? item(set(array
(