Filter is kept after saving workflow

This commit is contained in:
Frank Schubert
2021-08-31 11:59:58 +02:00
parent ffcbbe3d02
commit 807bf3d35e
3 changed files with 27 additions and 22 deletions

View File

@@ -110,8 +110,8 @@
</div>
</td>
<td>
<form method="post" name="wf-building-<?=$building->id?>" id="wf-building-<?=$building->id?>" action="<?=self::getUrl("Pipework","save")?>" enctype="multipart/form-data" >
<input type="hidden" name="id" value="<?=$building->id?>" />
<form method="post" name="wf-building-<?=$building->id?>" id="wf-building-<?=$building->id?>" action="<?=self::getUrl("Pipework","save", ["filter" => $filter])?>" enctype="multipart/form-data" >
<input type="hidden" name="id" value="<?=$building->id?>" />
<table class="table workflow-table">
<?php $i = 0; foreach($building->workflowitems as $item): ?>
<?php if($i==0): ?>
@@ -211,4 +211,4 @@ $(document).ready(function() {
</script>
<?php include(realpath(dirname(__FILE__)."/../")."/footer.php"); ?>
<?php include(realpath(dirname(__FILE__)."/../")."/footer.php"); ?>