Added export button to Pipework

This commit is contained in:
Frank Schubert
2022-06-21 14:22:36 +02:00
parent 478ab13805
commit e3438bc96c
5 changed files with 715 additions and 9 deletions

View File

@@ -210,6 +210,9 @@ class LineworkController extends mfBaseController {
$cmd = BASEDIR."/scripts/start_workflow_export.php";
$args = "";
$filter['type'] = "Pipework";
$filter['user_id'] = $this->me->id;
foreach($get['filter'] as $key => $value) {
$args .= " ".escapeshellarg("--$key")." ". escapeshellarg($value);
}